Emergency Contacts

List emergency contacts

get
/emergency-contacts/
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
chevron-right
200

List of contacts

application/json
get
/emergency-contacts/

Create emergency contact

post
/emergency-contacts/
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
full_namestringRequired
relationshipstringRequired
phone_numberstringRequired
emailstring · emailRequired
addressstring | nullableOptional
photostring · binaryOptional
Responses
post
/emergency-contacts/

Get emergency contact

get
/emergency-contacts/{id}/
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idintegerRequired
Responses
chevron-right
200

Contact details

application/json
get
/emergency-contacts/{id}/

Delete emergency contact

delete
/emergency-contacts/{id}/
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idintegerRequired
Responses
delete
/emergency-contacts/{id}/

No content

Update emergency contact

patch
/emergency-contacts/{id}/
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idintegerRequired
Body
idintegerOptional
full_namestringOptional
relationshipstringOptional
phone_numberstringOptional
emailstring · emailOptional
addressstring | nullableOptional
photo_urlstring | nullableOptional
Responses
chevron-right
200

Contact updated

No content

patch
/emergency-contacts/{id}/

No content

Last updated