Aller au contenu

/api/workspaces/{workspaceId}/members/{userId} (PATCH)

PATCH
/api/workspaces/{workspaceId}/members/{userId}
curl --request PATCH \
--url https://example.com/api/workspaces/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/members/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "role": "example" }'
workspaceId
required
string format: uuid
userId
required
string format: uuid
Media type application/json
object
role
string
nullable
Example generated
{
"role": "example"
}

OK