Update the IsReadOnly property of a BaseInfo object Returns (Task.)
Overview of SetIsReadOnly goes here.
| Name | Description |
|---|---|
| baseInfo | The base information. |
| isReadOnly | The read-only state to set. |
Example in C#
// Returns: nothing
await client.SetIsReadOnly(BaseInfo baseInfo, Boolean isReadOnly);
Example in CURL
curl -X PUT \
https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/people/PERSON.KEY/readonly \
-H 'Authorization: Bearer TOKEN_GOES_HERE' \
-H 'Content-Type: application/json' \
-d 'true'