Patch User Service Roles In Organization

Patch User Service Roles In Organization

For vRA 8.x releases, one user can belong to exactly one organization.

Request
URI
PATCH
https://sc2-10-185-6-200.eng.vmware.com//csp/gateway/am/api/users/{userId}/orgs/{orgId}/service-roles
COPY
Path Parameters
string
userId
Required

userId

string
orgId
Required

orgId


Request Body
UserServiceRolesUpdateRequest of type(s) application/json
Optional
{
    "serviceDefinitionLink": "string",
    "roleNamesToRemove": [
        "string"
    ],
    "roleNamesToAdd": [
        "string"
    ]
}
string As ^(/csp/gateway/slc/api/definitions/internal|/csp/gateway/slc/api/definitions/external)/[^/]+$
serviceDefinitionLink
Required

serviceDefinitionLink

array of string
roleNamesToRemove
Optional

roleNamesToRemove

array of string
roleNamesToAdd
Optional

roleNamesToAdd

Responses
200

default response

Operation doesn't return any data structure