Last updated: September 23, 2026
Assign Users to Custom Role
Body is a plain JSON array of user UUIDs (not an object). Controller: UserRolesController.assignUsersToRole
Request
POST
https://superadminuser.miniorange.in/services/api/directory/v1/admin/roles/:uuid/assignAuthentication headers (required on every request)
- Customer-Key
- Super Admin ID for the actor account.
- Timestamp
- Milliseconds since epoch (e.g. Date.now()).
- Authorization
- SHA-512 of superAdminId + timestamp + apiKey.
- X-Target-Customer-Id
- Customer tenant the Super Admin is acting on.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| uuid | String | Required | Custom role UUID |
Request body
[
"<user-guid>"
]
No sample response is documented for this endpoint yet. Use Try it on the right to see the live response from your tenant.