SetAccessLevelForPersonAsync

Assign an Access Level to a PersonThe Access Level and the Person must already exist Returns (Task.)Exception Type: ArgumentNullExceptionaccessLevel - Missing Href value for access level

Grants a desgnated access level for a designated person.

Name Description
person The person.
accessLevel The access level.

Set Access Level For Person Async

Example in C#

// Returns: nothing
await client.SetAccessLevelForPersonAsync(PersonInfo person, AccessLevelInfo accessLevel)

Example in CURL


 
           curl -X PUT \
               https://keepapi.feenicshosting.com/api/f/INSTANCE.KEY/people/PERSON.KEY/accesslevels \
               -H 'Authorization: Bearer TOKEN_GOES_HERE'
               -H 'Content-Type: application/json' \
               -d '"/api/f/INSTANCE.KEY/accesslevels/ACCESSLEVEL.KEY"'