THISBIT VOICE & TRANSCRIPTS / DOCUMENTATION
POST /v1/grants
Set or remove a project permission.
Implemented. Requires a configured hosted workspace.
POST $STUDIO_CUSTOMER_URL/v1/grants- Host
- Customer API
- Caller
- Workspace administrator.
- Authorization
- Bearer token for this host; see Authentication.
Request
project_id, principal (member ID), role: reader, editor or null.
Return value
200. {saved: true}. Workspace membership remains a separate requirement.
Errors and retrying
After a lost reply, read the current resource before sending another change. A POST is not automatically idempotent. Keep the original identifiers and resolve revision conflicts before resubmitting.
Read the error codes and limits before retrying. A missing or inaccessible resource can produce the same refusal; do not infer its existence.