Add the provided accesslevel to the folder.The folder must already exist. The AccessLevel must not already exist. Returns (Task.)Exception Type: NullReferenceExceptionPost failed to get an Href as the result

Creates a new access level.

Name Description
folder The folder.
item The item.

Add Access Level Async

Example in C#

// Returns: AccessLevelInfo
var accessLevelInfo = await client.AddAccessLevelAsync(FolderInfo folder, AccessLevelInfo item)

Example in CURL

           curl -X POST \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '{
                   "$type":"Feenics.Keep.WebApi.Model.AccessLevelInfo, Feenics.Keep.WebApi.Model",