provider Organizations PUT
/v1/b2b/organizations/{organization_id}/members/{member_id}/reactivate @utdk/stytch
/v1/b2b/organizations/{organization_id}/members/{member_id}/reactivate Reactivate
Reactivates a deleted Member's status and its associated email status (if applicable) to active, specified by `organization_id` and `member_id`. This endpoint will only work for Members with at least one verified email where their `email_address_verified` is `true`.
Note that this endpoint does not accept an `external_id`. The Stytch `member_id` must be provided.
- organization_id path required
- Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug or organization_external_id here as a convenience.
- string
- member_id path required
- Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value.
- string
- X-Stytch-Member-Session header
- A Stytch session that can be used to run the request with the given member's permissions.
- string
- X-Stytch-Member-SessionJWT header
- A Stytch Session JSON Web Token (JWT) that can be used to run the request with the given member's permissions.
- string
Try it
Authentication
Configure credentials for Stytch API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import stytch from '@utdk/stytch';
await stytch.apiOrganizationV1OrganizationsMembersReactivate()