Authorizations
Master API key for administrative operations
Path Parameters
Body
application/json
Available options:
active, suspended, inactive Response
User status updated successfully
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"
}
'Updates the status of a user (Master API)
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"
}
'Master API key for administrative operations
active, suspended, inactive User status updated successfully
Was this page helpful?