Altostrat Studio is here — the AI-native network operations IDE for engineers running production. Terminal, diagrams, runbooks, and Copilot in one workspace. Get started →
curl --request PATCH \
--url https://v1.api.altostrat.io/workspaces/{workspaceId}/members/{memberId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"role": "admin"
}
'{
"user_id": "auth0|64f5a6b7c8d9e0f1a2b3c4d5",
"workspace_id": "ws_a1b2c3d4e5f6g7h8",
"role": "admin",
"created_at": "2025-10-29T00:40:06.000000Z",
"updated_at": "2025-10-29T00:40:06.000000Z"
}Updates the role of an existing member in a workspace. Role changes are subject to hierarchy rules; for example, an admin cannot promote another member to an owner.
curl --request PATCH \
--url https://v1.api.altostrat.io/workspaces/{workspaceId}/members/{memberId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"role": "admin"
}
'{
"user_id": "auth0|64f5a6b7c8d9e0f1a2b3c4d5",
"workspace_id": "ws_a1b2c3d4e5f6g7h8",
"role": "admin",
"created_at": "2025-10-29T00:40:06.000000Z",
"updated_at": "2025-10-29T00:40:06.000000Z"
}Documentation Index
Fetch the complete documentation index at: https://altostrat.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
Enter your JWT in the format: Bearer {token}
The ID of the workspace.
"ws_a1b2c3d4e5f6g7h8"
The Auth0 User ID (sub) of the workspace member.
"auth0|64f5a6b7c8d9e0f1a2b3c4d5"
The new role for the workspace member.
owner, admin, viewer "admin"
The member's role was updated successfully.
The unique identifier for the user (Auth0 sub).
"auth0|64f5a6b7c8d9e0f1a2b3c4d5"
The ID of the workspace this membership belongs to.
"ws_a1b2c3d4e5f6g7h8"
The role of the user within the workspace.
owner, admin, viewer "admin"
The timestamp when the member was added.
"2025-10-29T00:40:06.000000Z"
The timestamp when the member's role was last updated.
"2025-10-29T00:40:06.000000Z"
Was this page helpful?