API reference

Set a workspace member role

Requires org administration and org member-management credential permission. Grants verify the target belongs to this organization. Workspace roles never change organization roles; admins always retain effective developer access.

View Markdown

PUT/workspaces/{workspace_id}/members/{member_id}

Requires org administration and org member-management credential permission. Grants verify the target belongs to this organization. Workspace roles never change organization roles; admins always retain effective developer access.

Parameters

workspace_id · path
Workspace ID
member_id · path
Organization member ID

Request body

application/json

FieldTypeDescription
roleRequiredthundertypes.WorkspaceRole

Responses

204 · Role saved
400 · Bad Request
FieldTypeDescription
codeinteger
errorstring
messagestring
401 · Unauthorized
FieldTypeDescription
codeinteger
errorstring
messagestring
403 · Forbidden
FieldTypeDescription
codeinteger
errorstring
messagestring
404 · Not Found
FieldTypeDescription
codeinteger
errorstring
messagestring
500 · Internal Server Error
FieldTypeDescription
codeinteger
errorstring
messagestring
503 · Service Unavailable
FieldTypeDescription
codeinteger
errorstring
messagestring

Operation specification

The downloadable Markdown includes the published OpenAPI schema. Use the API origin provided by your compute account.