Skip to main content
PUT
/
organization-users
/
:organization_id
/
:user_id
Upsert an individual OrganizationUser (create if not exists)
curl --request PUT \
  --url https://app.ledger.ai/api/organization-users/:organization_id/:user_id \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

filters
string

Upsert item with the given ids: [ organization_id, user_id ]

JSON PUT body:

{
"entitlements": integer[]
"is_invitation"?: boolean
"is_organization_owner": boolean
"organization_id": integer
"user_id": integer
}

Body

application/json

Request payload

The body is of type object.

Response

Successful response

The response is of type object.