Language:

/users

POST

Create User

Creates a single user. Returns hydrated user error.

Please sign in to view your instance’s unique identifier

URL Endpoint

https://accounts.api.zesty.io/v1/users
Please sign in to view your token

Authentication Header

Bearer YOUR_APP_SID 

Request Body

{
    "firstName":"First Name", 
    "lastName":"Last Name", 
    "email":"useremail@example.com",
    "password": "userpassword"
}
GET

Get User

Gets a single user.

Please sign in to view your instance’s unique identifier

URL Endpoint

https://accounts.api.zesty.io/v1/users/undefined
Please sign in to view your token

Authentication Header

Bearer YOUR_APP_SID 
GET

Get User Instances

Gets a single user's instances.

Please sign in to view your instance’s unique identifier

URL Endpoint

https://accounts.api.zesty.io/v1/users/undefined/instances
Please sign in to view your token

Authentication Header

Bearer YOUR_APP_SID 
PUT

Update User

Updates a user.

Please sign in to view your instance’s unique identifier

URL Endpoint

https://accounts.api.zesty.io/v1/users/undefined?action=updatePassword
Please sign in to view your token

Authentication Header

Bearer YOUR_APP_SID 

Request Body

{
	"oldPassword": "old_password",
	"password": "new_password"
}
DELETE

Delete User

Deletes a single user

Please sign in to view your instance’s unique identifier

URL Endpoint

https://accounts.api.zesty.io/v1/users/undefined
Please sign in to view your token

Authentication Header

Bearer YOUR_APP_SID 

;