Skip to main content
PUT
/
v1
/
ui
/
admin
/
users
/
{id}
/
status
Update user status (Admin only)
curl --request PUT \
  --url https://api.example.com/v1/ui/admin/users/{id}/status \
  --header 'Content-Type: application/json' \
  --data '
{
  "status": "<string>",
  "reason": "<string>"
}
'
{}

Path Parameters

id
string
required

User ID

Body

application/json
status
string
required
Minimum string length: 1
reason
string

Response

User status updated successfully

The response is of type object.