Returns (Task)
Attach a User to a designated Person.
| Name | Description |
|---|---|
| personInfo | The person to set the user for |
| userInfo | The user to associate with the person |
Example in C#
// Returns: nothing
await client.SetUserForPersonAsync(PersonInfo personInfo, UserInfo userInfo);
Example in CURL
curl -X POST \
https://api.us.acresecurity.cloud/api/INSTANCE.KEY/people/PERSON.KEY/user \
-H 'Authorization: Bearer TOKEN_GOES_HERE' \
-H 'Content-Type: application/json' \
-d '"/api/f/INSTANCE.KEY/users/USER.KEY"'