Get Role
Read one Tier 1 account role, including its permission identifiers, assigned userIds and available creation and modification timestamps.
Use List Roles to obtain roleId. Read this detail before editing assignments so you can preserve every user who should remain assigned.
Requires the roles:read scope.
API key sent as a bearer token (mk_live_… / mk_test_…).
^ROLE-[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}$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.
GET /v1/roles/{roleId} HTTP/1.1
Host: admin.mimeeqapi.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": {
"roleId": "text",
"roleName": "text",
"status": "ACTIVE",
"permissions": [
"text"
],
"userIds": [
"text"
],
"createdAt": "text",
"modifiedAt": "text"
}
}Last updated
Was this helpful?