Set User Status
Activate or deactivate a Tier 1 user belonging to your Mimeeq account. Use INACTIVE to deactivate the user or ACTIVE to activate them.
This operation changes status only; it does not delete the user, edit their profile or replace role assignments. The response confirms the userId and resulting status. Read List Users first to identify the correct account member.
Requires the users:write scope.
API key sent as a bearer token (mk_live_… / mk_test_…).
^USER-[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$Data schema used by Set User Status (PUT /v1/users/{userId}/status). Read that operation for usage, permissions and update rules. Required fields and allowed values are defined below; request and response shapes can differ.
Successful response.
Invalid request data.
Missing or invalid API key.
The API key lacks the required scope (scope_denied), or the operation is not permitted for this account (operation_not_permitted).
Resource not found.
The API key exceeded its request rate (rate_limit_exceeded) or its monthly quota (quota_exceeded). Both carry Retry-After; the RateLimit-* headers accompany rate_limit_exceeded only, since a spent quota says nothing about the bucket.
Internal server error.
PUT /v1/users/{userId}/status HTTP/1.1
Host: admin.mimeeqapi.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 19
{
"status": "ACTIVE"
}{
"data": {
"userId": "text",
"status": "ACTIVE"
}
}Last updated
Was this helpful?