Easy Projects Logo

Easy Projects

application programming interface

Users

Making requests

The ‘Content-Type’ header must be set to ‘application/xml’ or ‘application/json’ to identify the request and response format. The default is ‘application/xml’. All requests must include a basic authorization header.

Get users
URL: rest/v1/users
HTTP method: GET
Returns all available users

Get user
URL: rest/v1/users/{ID}
HTTP method: GET
Returns users

Creates user
URL: rest/v1/users/{ID}
HTTP method: POST
Request body contains a user
Returns status code 201 (Created) on success

Update user
URL: rest/v1/users/{ID}
HTTP method: PUT
Request body contains a user
Response with “200 OK” on success

Delete user
URL: rest/v1/users/{ID}
HTTP method: DELETE
Response with “200 OK” on success