Users API
The Users resource represents the individuals who have accounts in your application.
GET
/v1/usersRetrieve a list of users.
curl -X GET https://api.hub.com/v1/users \ -H "Authorization: Bearer <token>"
POST
/v1/usersCreate a new user.
curl -X POST https://api.hub.com/v1/users \ -H "Authorization: Bearer <token>"
GET
/v1/users/:idRetrieve a specific user.
curl -X GET https://api.hub.com/v1/users/123 \ -H "Authorization: Bearer <token>"
DELETE
/v1/users/:idDelete a user.
curl -X DELETE https://api.hub.com/v1/users/123 \ -H "Authorization: Bearer <token>"