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 MarkdownPUT/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
| Field | Type | Description |
|---|---|---|
roleRequired | thundertypes.WorkspaceRole |
Responses
204 · Role saved
400 · Bad Request
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string |
401 · Unauthorized
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string |
403 · Forbidden
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string |
404 · Not Found
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string |
500 · Internal Server Error
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string |
503 · Service Unavailable
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string |
Operation specification
The downloadable Markdown includes the published OpenAPI schema. Use the API origin provided by your compute account.