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

POSThttps://superadminuser.miniorange.in/services/api/directory/v1/admin/roles/:uuid/assign

Authentication 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

NameTypeRequiredDescription
uuidStringRequiredCustom 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.

Copied