PUT
/v1/staff/{id}
curl \
--request PUT 'https://localhost/v1/staff/stf_xxxxxxxx' \
--header "Content-Type: application/json" \
--data '{"firstname":"John","lastname":"Doe","email":"john@example.com","permissionSet":"owner","jobTitle":"Teacher","joinedAt":"2024-01-01","phone":"+13124567890"}'
Request examples
{
"firstname": "John",
"lastname": "Doe",
"email": "john@example.com",
"permissionSet": "owner",
"jobTitle": "Teacher",
"joinedAt": "2024-01-01",
"phone": "+13124567890"
}
Response examples (200)
{
"id": "stf_123123123123",
"companyId": "co_123123123123",
"firstname": "John",
"lastname": "Doe",
"email": "john@example.com",
"phone": "(123) 456 7890",
"permissionSet": "family",
"jobTitle": "Teacher",
"invitationStatus": "not_invited",
"archivedAt": "2023-12-05 14:30:41",
"deletedAt": "2023-12-05 14:30:41",
"joinedAt": "2023-12-05",
"createdAt": "2023-12-05 14:30:41",
"profilePicture": "https://"
}
Response examples (403)
{
"statusCode": 42.0,
"messages": [
"string"
],
"exception": {}
}
Response examples (404)
{
"statusCode": 42.0,
"messages": [
"string"
],
"exception": {}
}