provider Organization DELETE /v1/b2b/organizations/{organization_id}
@utdk/stytch /v1/b2b/organizations/{organization_id}
Delete
Deletes an Organization specified by `organization_id`. All Members of the Organization will also be deleted.
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
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
apiOrganizationV1Delete
DELETE/v1/b2b/organizations/{organization_id}
Deletes an Organization specified by `organization_id`. All Members of the Organization will also be deleted.

Parameters

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.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import stytch from '@utdk/stytch';

await stytch.apiOrganizationV1Delete()