Skip to main content
PATCH
/
api
/
users
/
{id}
Update a user
curl --request PATCH \
  --url https://api.example.com/api/users/{id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "externalId": "<string>",
  "space": "production"
}
'
{
  "id": "<string>",
  "externalId": "<string>",
  "createdAt": "2023-12-25",
  "updatedAt": "2023-12-25",
  "createdBy": "<string>",
  "space": "production",
  "token": "<string>"
}

Body

application/json
externalId
string | null
space
enum<string>
Available options:
production,
playground,
shared-playground

Response

200 - application/json

Undescribed

id
string
required
externalId
string | null
required
createdAt
string<date>
required
updatedAt
string<date>
required
createdBy
string | null
required
space
enum<string>
required
Available options:
production,
playground,
shared-playground
token
string
required