In this article
Post Additional Permission
URL
https://api.digitalvault.cloud/{{resourceType}}/{{resourceId}}/permissions/{{principal}}::{{permission}}
Method
POST
Required IMS Scopes
- apollo_admin
URL Path Parameters
| Name | Description | Example | Type |
|---|---|---|---|
| resourceType requried |
Type of Resource | string | |
| resourceId requried |
ID of Resource | string | |
| principal requried |
The principal having permission in the ACL | string | |
| permission requried |
The additional permision to grant | string |
Request Header Parameters
| Type | Value | Description |
|---|---|---|
| Authentication required |
Bearer {access_token} | Authorization |
| Content-Type required |
application/json | Specifies the type of Application |
Example
Request
curl -X POST
'https://api.digitalvault.cloud/{{resourceType}}/{{resourceId}}/permissions/{{principal}}::{{permission}}'
-H 'authorization: Bearer {access_token}'
Response
{
"objectId": "{{resourceId}}",
"accesscontrolitems": {
"sub:user:bob": "owner",
"org:jci.com": "readwrite"
}
}
Response Body Parameters
| Name | Description | Schema |
|---|---|---|
| objectId required |
Id of the object | object |
| accesscontrolitems required |
List of the Access Control Items | acl list |