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"
}
array of
UserIdentificationDto
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).
string
projectId
Optional
Project Identifier.
string
vrn
Optional
VRN of the resource.