Data Integration
- Data Integration
- All Products
/public/core/v3/objects/<object ID/permissions
Field
| Type
| Required
| Description
|
---|---|---|---|
principal
| Object
| Yes
| Whether the ACL is defined for a user or user group and the name of the user or user group.
|
type
| String
| Yes
| Include in principal object.
Use one of the following values:
|
name
| String
| Yes
| Include in principal object.
Name of the object.
|
permissions
| Object
| Yes
| Object permissions to assign to the user or group.
|
read
| Boolean
| Yes
| Include in permissions object.
Whether to allow the user or group to view the object.
|
delete
| Boolean
| Yes
| Include in permissions object.
Whether to allow the user or group to delete the object.
|
execute
| Boolean
| Yes
| Include in permissions object.
Whether to allow the user to run the task.
|
changePermission
| Boolean
| Yes
| Include in permissions object.
Whether to allow the user or group to change the permissions for the object.
|
POST <baseApiUrl>/public/core/v3/objects/9EcgvBYZ9GGflOYr98GzOH/permissions Content-Type: application/json Accept: application/json INFA-SESSION-ID: <sessionId> { "principal": { "type":"USER", "name":"larry@infa.com" }, "permissions" : { "read" : true, "update" : true, "delete" : true, "execute" : true, "changePermission" : true } }
[ { "id": "0dXigiEiWRbb5rKLgPfFCe", "principal": { "type": "USER", "name": "larry@infa.com" }, "permissions": { "read": true, "update": true, "delete": true, "execute": true, "changePermission": true } } ]