Skip to main content
DELETE
/
v2
/
environments
/
{environmentId}
/
members
/
{memberId}
Remove Member
curl --request DELETE \
  --url https://api.tusky.io/v2/environments/{environmentId}/members/{memberId}
Remove a member from an environment, revoking their access.

Path Parameters

environmentId
string
required
The unique identifier of the environment.
memberId
string
required
The unique identifier of the member to remove.

Response

Returns a 204 No Content response on success.

Example

curl -X DELETE https://api.tusky.io/v2/environments/env_abc123def456/members/member_stu901vwx234 \
  -H "Api-Key: YOUR_API_KEY"

Response

204 No Content
Only environment owners and admins can remove members. The environment owner cannot be removed. For encrypted environments, removing a member revokes their decryption access.