Users API


List

GET https://api.terrene.co/users/


Name Description Required Location Schema Example
page None False query None

Create

POST https://api.terrene.co/users/


Name Description Required Location Schema Example
first_name None False form None
last_name None False form None
email None True form None
phone None False form None
credits None False form None
password None True form None

Read

GET https://api.terrene.co/users/{object_id}/


Name Description Required Location Schema Example
object_id None True path None

Update

PUT https://api.terrene.co/users/{object_id}/


Name Description Required Location Schema Example
object_id None True path None
first_name None False form None
last_name None False form None
email None True form None
phone None False form None
credits None False form None
password None True form None

Partial Update

PATCH https://api.terrene.co/users/{object_id}/


Name Description Required Location Schema Example
object_id None True path None
first_name None False form None
last_name None False form None
email None False form None
phone None False form None
credits None False form None
password None False form None

Delete

DELETE https://api.terrene.co/users/{object_id}/


Name Description Required Location Schema Example
object_id None True path None

Reset Secret Key

POST https://api.terrene.co/users/{object_id}/reset-secret-key/


Name Description Required Location Schema Example
object_id None True path None

Set Password

POST https://api.terrene.co/users/{object_id}/set-password/


Name Description Required Location Schema Example
object_id None True path None
user None False form None
new_password None True form None
old_password None True form None