Patch Org Roles
Edit roles.
Request
URI
PATCH
https://sc2-10-185-6-200.eng.vmware.com//csp/gateway/am/api/orgs/{orgId}/roles
COPY
Path Parameters
string
orgId
Required
orgId
Request Body
UsersRolesPatchRequest of type(s) application/json
Optional
{
"userList": [
{
"userName": "string",
"orgRolesUpdateRequest": {
"roleNamesToAdd": [
"string"
],
"roleNamesToRemove": [
"string"
]
},
"empty": false
}
],
"servicesRolesPatchRequest": {
"serviceRolesPatchRequest": [
{
"serviceId": "string",
"roleNamesToAdd": [
"string"
],
"roleNamesToRemove": [
"string"
]
}
]
}
}
Responses
200
default response
Returns UserRolePatchResponse of type(s) */*
{
"successOrgRolesUsernames": [
"string"
],
"failedOrgRolesUsernames": [
"string"
],
"successServiceRolesUsernames": [
"string"
],
"failedServicesRolesUsernames": [
"string"
]
}
array of string
successOrgRolesUsernames
Optional
successOrgRolesUsernames
array of string
failedOrgRolesUsernames
Optional
failedOrgRolesUsernames
array of string
successServiceRolesUsernames
Optional
successServiceRolesUsernames
array of string
failedServicesRolesUsernames
Optional
failedServicesRolesUsernames
Organization Controller Operations
GET
Get By Id
GET
Get Role By Org Id And Role Id
PATCH
Patch Org
PATCH
Patch Org Roles
GET
Search Org Groups