UpdateUsersRolesOnProjectRequest

UpdateUsersRolesOnProjectRequest
UpdateUsersRolesOnProjectRequest

Users roles to be updated with option to send email to users (enabled by default).

JSON Example
{
    "customRoles": {
        "rolesToAdd": [
            {
                "expiresAt": "string",
                "name": "string"
            }
        ],
        "rolesToRemove": [
            {
                "name": "string"
            }
        ]
    },
    "ids": [
        {
            "acct": "string",
            "userId": "string"
        }
    ],
    "notifyUsers": false,
    "organizationRoles": {
        "rolesToAdd": [
            {
                "expiresAt": "string",
                "name": "string"
            }
        ],
        "rolesToRemove": [
            {
                "name": "string"
            }
        ]
    },
    "projectId": "d47e1cb2-1ecf-4051-8fa6-52f96e976802",
    "serviceRoles": [
        {
            "rolesToAdd": [
                {
                    "expiresAt": "string",
                    "name": "string"
                }
            ],
            "rolesToRemove": [
                {
                    "name": "string"
                }
            ],
            "serviceDefinitionId": "string"
        }
    ],
    "vrn": "vrn/org:d47e1cb2-1ecf-4051-8fa6-52f96e976802/project:finance"
}
customRoles
Optional

Request body to update roles.

ids
Required
Constraints: minItems: 0 maxItems: 10

User Identification properties of the Users

boolean
notifyUsers
Optional
Constraints: default: true

Send e-mail notification to the user(s).

organizationRoles
Optional

Request body to update roles.

string
projectId
Optional

Project Identifier.

serviceRoles
Optional

Service roles to be updated.

string
vrn
Optional

VRN of the resource.