URI: https://api.onlinephotosubmissioncloudcard.comus/person/{id}
Example URI: https://api.onlinephotosubmissioncloudcard.comus/person/123
Example URI: https://api.onlinephotosubmissioncloudcard.comus/person/jon.doe@foo.edu?findBy=email
Example URI: https://api.onlinephotosubmissioncloudcard.comus/person/A1234567?findBy=identifier
...
findBy=[id|email|identifier]
(default id)updateRoles=[true|false]
(default true)
IfupdateRoles
istrue
or absent, any roles not explicitly granted will be removed
...
...
DEPRECATION NOTICE: The old URI https://api.onlinephotosubmission.com/api/people/{id | email | identifier}
is now deprecated and will no longer be supported after January 1, 2023.
HTTP Method: PUT
Required Headers: X-Auth-Token (see: Authentication)
Optional URL Parameters: none
...
Code Block | ||
---|---|---|
| ||
{ "email": "jon.doe@foo.edu", "identifier":"ABC123", "Some Custom Field Name":"Some Custom Field Value", "Another Custom Field Name":"Another Custom Field Value", "ROLE_DIRECTOR":false, "ROLE_OFFICE":true, "emailGroupNamecardholderGroupName":"Online Students", "additionalPhotoRequired":true , "enabled":true } |
...