Skip to main content
Update a user's organization role by role name
curl --request PATCH \
  --url https://api.ionworks.com/organizations/{organization_id}/users/{user_id}/role \
  --header 'Content-Type: application/json' \
  --data '
{
  "role_name": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Path Parameters

organization_id
string
required
user_id
string
required

Body

application/json

Request model to update a user's organization role by role name.

role_name
string
required

Response

Successful Response