Boomi MFT - AFT Management API Reference (v1) - AdminRoles
Download OpenAPI Specification: Download
Retrieves a list of user roles with optional permission details
Authorizations:
ApiKeyBearer
query Parameters
| includePermissions | boolean Default: false Whether to include permission details for each role (default: false) |
Responses
Response Schema:
Array
| id | integer <int32> |
| userRoleCode | string or null |
| userRoleDescription | string or null |
| isHidden | boolean |
| deletedDate | string or null <date-time> |
| permissions | Array of integers or null <int32> [ items <int32 > ] |
| customerId | integer or null <int32> |
| isSystemRole | boolean |
| rank | integer or null <int32> |
Response samples
- 200
- 400
Content type
No sample
Creates a new user role with specified permissions
Authorizations:
ApiKeyBearer
Request Body schema:
User role configuration including name and permissions
| id | integer <int32> |
| userRoleCode | string or null |
| userRoleDescription | string or null |
| isHidden | boolean |
| deletedDate | string or null <date-time> |
| permissions | Array of integers or null <int32> [ items <int32 > ] |
| customerId | integer or null <int32> |
| isSystemRole | boolean |
| rank | integer or null <int32> |
Responses
Response Schema:
| id | integer <int32> |
| userRoleCode | string or null |
| userRoleDescription | string or null |
| isHidden | boolean |
| deletedDate | string or null <date-time> |
| permissions | Array of integers or null <int32> [ items <int32 > ] |
| customerId | integer or null <int32> |
| isSystemRole | boolean |
| rank | integer or null <int32> |
Request samples
- Payload
Content type
{- "id": 0,
- "userRoleCode": "string",
- "userRoleDescription": "string",
- "isHidden": true,
- "deletedDate": "2019-08-24T14:15:22Z",
- "permissions": [
- 0
], - "customerId": 0,
- "isSystemRole": true,
- "rank": 0
}Response samples
- 200
- 400
Content type
No sample
Updates an existing user role and its permissions
Authorizations:
ApiKeyBearer
Request Body schema:
Updated user role configuration
| id | integer <int32> |
| userRoleCode | string or null |
| userRoleDescription | string or null |
| isHidden | boolean |
| deletedDate | string or null <date-time> |
| permissions | Array of integers or null <int32> [ items <int32 > ] |
| customerId | integer or null <int32> |
| isSystemRole | boolean |
| rank | integer or null <int32> |
Responses
Response Schema:
| id | integer <int32> |
| userRoleCode | string or null |
| userRoleDescription | string or null |
| isHidden | boolean |
| deletedDate | string or null <date-time> |
| permissions | Array of integers or null <int32> [ items <int32 > ] |
| customerId | integer or null <int32> |
| isSystemRole | boolean |
| rank | integer or null <int32> |
Request samples
- Payload
Content type
{- "id": 0,
- "userRoleCode": "string",
- "userRoleDescription": "string",
- "isHidden": true,
- "deletedDate": "2019-08-24T14:15:22Z",
- "permissions": [
- 0
], - "customerId": 0,
- "isSystemRole": true,
- "rank": 0
}Response samples
- 200
- 400
Content type
No sample
Retrieves a specific user role by its identifier
Authorizations:
ApiKeyBearer
path Parameters
| roleId required | integer <int32> Unique identifier of the user role |
Responses
Response Schema:
| id | integer <int32> |
| userRoleCode | string or null |
| userRoleDescription | string or null |
| isHidden | boolean |
| deletedDate | string or null <date-time> |
| permissions | Array of integers or null <int32> [ items <int32 > ] |
| customerId | integer or null <int32> |
| isSystemRole | boolean |
| rank | integer or null <int32> |
Response samples
- 200
- 400
Content type
No sample
Was this topic helpful?