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