Returns (Task)
Place Operation Rights on the provided object.
Name | Description |
---|---|
folder | |
appCode | |
credentialKey | |
item | |
appliesTo |
Example in C#
// Returns: OperationRightInfo
var operationRightInfo = await client.AddOperationRightsAsync(FolderInfo folder, String appCode, String credentialKey, OperationRightInfo item, BaseInfo appliesTo);
Example in CURL
curl -X POST \
https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/operationrights?appCode=AppCode&credentialKey=CredentialKey \
-H 'Authorization: Bearer TOKEN_GOES_HERE' \
-H 'Content-Type: application/json' \
-d '{
"$type":"Feenics.Keep.WebApi.Model.OperationRightInfo, Feenics.Keep.WebApi.Model",
"System":null,
"Actions":null,
"GrantType":0,
"Enabled":false,
"Key":null,
"CommonName":"OperationRightInfo",
"InFolderHref":null,
"InFolderKey":null,
"Links":[],
"ObjectLinks":[],
"Metadata":null,
"Notes":null,
"Tags":null,
"Monikers":null,
"Href":null
}'