Skip to main content
PATCH
/
master
/
users
/
{userId}
/
status
Update user status
curl --request PATCH \
  --url http://localhost:3000/master/users/{userId}/status \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "status": "active"
}
'

Authorizations

X-API-Key
string
header
required

Master API key for administrative operations

Path Parameters

userId
string<uuid>
required

Body

application/json
status
enum<string>
required
Available options:
active,
suspended,
inactive

Response

User status updated successfully