Skip to main content
PUT
/
api
/
v2
/
users
Update user
curl --request PUT \
  --url https://api.example.com/api/v2/users \
  --header 'Content-Type: application/json' \
  --data '
{
  "displayName": "<string>",
  "tenantId": "<string>",
  "userId": "<string>",
  "organizationalRole": "Admin",
  "email": "<string>",
  "isOwner": true
}
'
{
  "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
displayName
null | string
tenantId
null | string
userId
null | string
organizationalRole
enum<string>
Available options:
Admin,
UserAdmin,
WorkspaceAdmin,
AgentAdmin,
Member
email
null | string
isOwner
boolean

Response

OK

Standard v2 API response envelope for single-item responses.

data
boolean
meta
object