Accounts
Guides
API Reference
Language:
Javascript
Creates a single user. Returns hydrated user error.
URL Endpoint
https://accounts.api.zesty.io/v1/users
Authentication Header
Bearer YOUR_APP_SID
Request Body
{ "firstName":"First Name", "lastName":"Last Name", "email":"useremail@example.com", "password": "userpassword" }
Gets a single user.
https://accounts.api.zesty.io/v1/users/undefined
Gets a single user's instances.
https://accounts.api.zesty.io/v1/users/undefined/instances
Updates a user.
https://accounts.api.zesty.io/v1/users/undefined?action=updatePassword
{ "oldPassword": "old_password", "password": "new_password" }
Deletes a single user