Skip to main content
PUT
/
api
/
v2
/
users
/
organization
/
role
Update org role
curl --request PUT \
  --url https://api.example.com/api/v2/users/organization/role \
  --header 'Content-Type: application/json' \
  --data '
{
  "userId": "<string>",
  "organizationalRole": "Admin"
}
'
{
  "data": true,
  "meta": {
    "requestId": "<string>",
    "timestamp": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.contraforce.com/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
userId
null | string
organizationalRole
enum<string>
Available options:
Admin,
UserAdmin,
WorkspaceAdmin,
AgentAdmin,
Member

Response

OK

Standard v2 API response envelope for single-item responses.

data
boolean
meta
object