AssignRolesToMembersRequest

AssignRolesToMembersRequest
AssignRolesToMembersRequest

Assign roles to member request.

JSON Example
{
    "customRoles": [
        {
            "createdBy": "string",
            "createdDate": "string",
            "expiresAt": 3609941597,
            "lastUpdatedBy": "string",
            "lastUpdatedDate": "string",
            "membershipType": "string",
            "name": "string",
            "resource": "string"
        }
    ],
    "ids": [
        "string"
    ],
    "organizationRoleNames": [
        "string"
    ],
    "organizationRoles": [
        {
            "createdBy": "string",
            "createdDate": "string",
            "expiresAt": 3609941597,
            "lastUpdatedBy": "string",
            "lastUpdatedDate": "string",
            "membershipType": "string",
            "name": "string",
            "resource": "string"
        }
    ],
    "serviceRoles": [
        {
            "serviceDefinitionId": "string",
            "serviceRoleNames": [
                "string"
            ],
            "serviceRoles": [
                {
                    "createdBy": "string",
                    "createdDate": "string",
                    "expiresAt": 3609941597,
                    "lastUpdatedBy": "string",
                    "lastUpdatedDate": "string",
                    "membershipType": "string",
                    "name": "string",
                    "resource": "string"
                }
            ]
        }
    ]
}
customRoles
Optional

The custom roles that will be assigned to the members.

array of string
ids
Required

IDs of the members to whom the new roles will be assigned.

array of string
organizationRoleNames
Optional

Deprecated: The organization role names that will be assigned to the member (use organizationRoles instead).

organizationRoles
Optional

The organization roles that will be assigned to the members.

serviceRoles
Optional

The service roles that will be assigned to the members.