Skip to main content

Deletes a satellite domain for the instance. It is currently not possible to delete the instance's primary domain.

Returns the DeletedObject.

function delete(satelliteDomainId: string): Promise<DeletedObject>
  • Name
    satelliteDomainId
    Type
    string
    Description

    The ID of the satellite domain to delete.

Note

Using clerkClient varies based on the SDK you're using. Refer to the overview for usage details, including guidance on how to access the userId and other properties.

const response = await clerkClient.domains.delete('domain_123')

Backend API (BAPI) endpoint

This method in the SDK is a wrapper around the BAPI endpoint DELETE/domains/{domain_id}. See the BAPI reference for more information.

Feedback

What did you think of this content?

Last updated on