Members

Remove a collaborator from a site

Takes away one person's access to this site. It does not touch workspace teammates, whose access comes from the workspace. The last explicit site owner can't be removed. Needs the site Owner role.

delete/api/v1/sites/{slug}/members/{userId}

Request

  • Base URL: https://api.dotsy.ai
  • URL: https://api.dotsy.ai/api/v1/sites/{slug}/members/{userId}
  • Auth: HTTP bearer

Path parameters

slugstring required
Example:acme-studio

Site slug or site id (UUID). An old slug answers 301/308 and a site id 307 to the canonical slug path.

userIdstring required

The person's userId, from listSiteMembers.

Response

Access was removed.

oktrue required

Changes

No recorded changes to this operation across all 1 revision of this API.