Skip to main content
PATCH
/
management
/
v2.0
/
users
/
{userId}
Updates an user.
curl --request PATCH \
  --url https://api-trial.cognigy.ai/new/management/v2.0/users/{userId} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>",
  "name": "<string>",
  "acceptedTOS": true,
  "disabled": true,
  "newPassword": "<string>"
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

Basic Authentication used by routes designed for the Management-UI.

Headers

Accept
enum<string>

The default media type is application/hal+json. Use application/json for pure data results.

Available options:
application/json,
application/hal+json,
application/xml,
text/xml,
text/csv

Path Parameters

userId
string
required

The Id of the User

Required string length: 24

Body

application/json
id
string
name
string
acceptedTOS
boolean
disabled
boolean
newPassword
string

Response

The user is updated successfully.

I