Edit User Permissions
This can be used to edit permissions assigned to any user on a folder of an Entitlement Account. Permissions can only be edited if isEditableByLoggedInUser
is true while getting the permissions for the same user.
Entitlement Account to use for this request
12345678
Bearer Access Token Generated using API Key
Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
Request details for editing user permissions
[
{
"folderId": 11111111,
"users": [
"[email protected]",
"[email protected]"
],
"newPermissions": {
"manageRoles": true,
"viewSupportRequests": false,
"viewOrdersAndSupportContracts": false,
"viewLicenseAndUserPerms": true,
"manageFoldersAndUserPerms": true,
"divideCombineLicenseKeys": true,
"upgradeDowngradeLicenseKeys": true,
"fileSupportRequests": false,
"downloadProducts": true
}
}
]
Edit user permission request submitted or executed successfully.
{
"status": "success",
"requestId": "1uy14hzktpz7n7a9h",
"requestStatusUrl": "https://apigw.vmware.com/v1/m4/api/myvmware/external/requests/1uy14hzktpz7n7a9h/status"
}
Status of the request. Example values are - Success, Request submitted successfully etc.
Unique ID assigned to this request.
Unique URL generated for this request to check the status.
Either request is not valid or input validation has failed.
{
"statusCode": 400,
"timestamp": "string",
"traceId": "b13a30a88b1e4d64",
"requestId": "61f8f6d7acb254330dc6cbc9cf993717",
"errorDetails": [
{
"errorCode": "VMW-XXX-XXX",
"message": "Error occured while processing your request."
}
]
}
Generally the http code i.e. 400, 500 for the error
The timestamp of the error
Unique Trace Id assigned to this request.
Unique Request Id assigned to this request.
Access Token is not valid or expired.
{
"statusCode": 400,
"timestamp": "string",
"traceId": "b13a30a88b1e4d64",
"requestId": "61f8f6d7acb254330dc6cbc9cf993717",
"errorDetails": [
{
"errorCode": "VMW-XXX-XXX",
"message": "Error occured while processing your request."
}
]
}
Generally the http code i.e. 400, 500 for the error
The timestamp of the error
Unique Trace Id assigned to this request.
Unique Request Id assigned to this request.
Server error while getting the details.
{
"statusCode": 400,
"timestamp": "string",
"traceId": "b13a30a88b1e4d64",
"requestId": "61f8f6d7acb254330dc6cbc9cf993717",
"errorDetails": [
{
"errorCode": "VMW-XXX-XXX",
"message": "Error occured while processing your request."
}
]
}
Generally the http code i.e. 400, 500 for the error
The timestamp of the error
Unique Trace Id assigned to this request.
Unique Request Id assigned to this request.