Revoke Project Access

Beta

Remove a member’s access to this project.

A member who loses their last grant is not locked out - they return to workspace-wide access, because holding no grants is the unrestricted state. To restrict someone, grant them the projects they should keep rather than revoking everything. Requires members.manage_project_scope.

Authentication

AuthorizationBearer

Enter your API key with the Bearer prefix, e.g. ‘Bearer sk_…’.

Path parameters

project_idstringRequired
Project ID.
user_idstringRequired
The member's prefixed user id, as returned by the members list.

Headers

Speechify-VersionstringOptional

Response

The grant was removed.

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error