Skip to main content
PATCH
/
v1
/
users
/
{id}
Patch user
curl --request PATCH \
  --url https://{tenant}.torchapp.com.au/api/v1/users/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "b",
  "email": "[email protected]",
  "password": "-0pBNvYgxw",
  "title": "a",
  "azure_id": "y",
  "roles": [
    "<string>"
  ]
}
'
{}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
integer
required

The ID of the user.

Body

application/json
name
string
Maximum string length: 255
Example:

"b"

email
string<email>
Maximum string length: 255
password
string
Minimum string length: 8
Example:

"-0pBNvYgxw"

title
string
Maximum string length: 255
Example:

"a"

azure_id
string
Maximum string length: 255
Example:

"y"

roles
string[]

Response

User updated

The response is of type object.