Last updated: September 23, 2026
Import Roles (async)
idp-apps-service — `ImportRolesAndPermissionsRequest`. Both `importRoles` and `importPermissions` are required (non-null); handler always triggers role import event.
Request
POST
https://superadminuser.miniorange.in/services/api/apps/v1/import/rolesAuthentication 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 |
|---|---|---|---|
| customerKey | String | Optional | |
| uuid | String | Optional | |
| importRoles | String | Optional | |
| importPermissions | String | Optional |
Request body
{
"customerKey": "<target-customer-id>",
"uuid": "c8d7d819-c148-11f0-87d4-0242ac13000a",
"importRoles": true,
"importPermissions": false
}
No sample response is documented for this endpoint yet. Use Try it on the right to see the live response from your tenant.