[//]: <> (TODO: Add retrieve/list)
Endpoint: https://yourschool.pathwright.com/api/public/member/{integration}/{external_id}/
Allowed Methods: POST, PUT, PATCH
Allows school members with an external integration specified to be updated based on external attributes.
Currently, this endpoint only allows updating of user and user profile information.
integration: One of external, saml2
. Specifies the type of integration that we should use to look up the school member to update:
external_id: A unique ID for the member based the integration specified.
profile:
'Mr.', 'Mrs.', 'Ms.', 'Dr.', 'Fr.', 'Professor', 'Rev.', 'Rabbi'
membership:
admin, pathwright, student
. Note that pathwright
denotes a school-level course editor.links: Read-only. Use the links APIs to create and remove links.
external, saml2
Returns the updated school member.
{
"id": 12345,
"first_name": "Test",
"last_name": "Student",
"email": "test@example.com",
"profile": {
"salutation": "Mr.",
"bio": "A short biographical piece!",
"location": "Greenville, SC",
"phone_number": "8645550123"
},
"membership": {
"membership_type": "admin"
},
"links": [
{
"id": 123,
"link_type": "saml2",
"external_id": "some_account@gsuite.example.com",
"last_external_update": "2017-10-09T21:36:40.707776Z"
}
]
}