[{"label":"Latest (1.0)","version":"latest"}]
cloud-partner-navigator
Update Org Role Bindings For Multiple Users
DescriptionUpdates the organization role bindings of multiple users in an organization.
Request
URLURL
https://console.navigator.vmware.com/cphub/api/auth/v1/orgs/{orgId}/users-org-role-bindings
Path Parameters
Path Parameters
string
orgId
Required
Unique identifier (GUID) of the organization.
Query Parameters
Query Parameters
string
context
Optional
context can be OPERATOR, PROVIDER or TENANT.
Request Body
Request Body
UserOrgRoleBindingItems
of mimetype application/json
Optional
The request body to update organization role bindings
{
"orgsToAdd": [
"...",
"..."
],
"orgsToRemove": [
"...",
"..."
],
"roles": [
"...",
"..."
],
"users": [
"...",
"..."
]
}
array of
string
orgsToAdd
Optional
The organization roles to add.
array of
string
orgsToRemove
Optional
The organization roles to remove.
array of
string
roles
Optional
The list of the roles.
array of
string
users
Optional
The list of the users.
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
UserOrgRoleBindingItems
of type application/json
{
"orgsToAdd": [
"...",
"..."
],
"orgsToRemove": [
"...",
"..."
],
"roles": [
"...",
"..."
],
"users": [
"...",
"..."
]
}
array of
string
orgsToAdd
Optional
The organization roles to add.
array of
string
orgsToRemove
Optional
The organization roles to remove.
array of
string
roles
Optional
The list of the roles.
array of
string
users
Optional
The list of the users.
Errors
400
Bad Request - The request is either incomplete or incorrect
401
Unauthorized - The user is not authorized to use the API
500
Internal Server Error - An unexpected error has occurred while processing the request
Code Samples
cURL Command
curl -X PATCH -H "Content-Type: application/json" -d '{"orgsToAdd":["...","..."],"orgsToRemove":["...","..."],"roles":["...","..."],"users":["...","..."]}' https://console.navigator.vmware.com/cphub/api/auth/v1/orgs/{orgId}/users-org-role-bindings
Vendor Extensions
This operation contains the following vendor extensions defined in the spec:
x-codegen-request-body-name: userOrgRoleBindingItems
[{"label":"Latest (1.0)","version":"latest"}]
cloud-partner-navigator
On This Page
Service Organization Operations
post
post
delete
get
get
delete