AssignRolesToMembersRequest
AssignRolesToMembersRequest
Assign roles to member request.
JSON Example
{
"ids": [
"string"
],
"organizationRoles": [
{
"createdBy": "string",
"lastUpdatedBy": "string",
"name": "string",
"lastUpdatedDate": "string",
"expiresAt": 3609941597,
"membershipType": "string",
"resource": "string",
"createdDate": "string"
}
],
"serviceRoles": [
{
"serviceRoleNames": [
"string"
],
"serviceDefinitionId": "string",
"serviceRoles": [
{
"createdBy": "string",
"lastUpdatedBy": "string",
"name": "string",
"lastUpdatedDate": "string",
"expiresAt": 3609941597,
"membershipType": "string",
"resource": "string",
"createdDate": "string"
}
]
}
],
"organizationRoleNames": [
"string"
],
"customRoles": [
{
"createdBy": "string",
"lastUpdatedBy": "string",
"name": "string",
"lastUpdatedDate": "string",
"expiresAt": 3609941597,
"membershipType": "string",
"resource": "string",
"createdDate": "string"
}
]
}
array of string
ids
Required
Constraints: minItems: 0 maxItems: 10
IDs of the members to whom the new roles will be assigned.
array of BaseRoleBindingDto
organizationRoles
Optional
The organization roles that will be assigned to the members.
array of ServiceRolesWithIdDto
serviceRoles
Optional
The service roles that will be assigned to the members.
array of string
organizationRoleNames
Optional
Deprecated: The organization role names that will be assigned to the member (use organizationRoles instead).
array of CustomRoleBindingDto
customRoles
Optional
The custom roles that will be assigned to the members.