Skip to main content
Yosemite CrewDeveloper Docs

User API

On this page

Endpoints for a user account: creating, fetching, updating the name, and deleting a user. See the User Profile API for per-organisation profile details and the User Organization API for organisation memberships.

Endpoints

POST /

  • Auth: requireWebAuth
  • Controller: UserController.getById
  • Response: 404: keys message, 200: keys error, message, 500: keys message

DELETE /:id

  • Auth: requireWebAuth
  • Params: id
  • Body: JSON
  • Body fields: firstName, lastName
  • Controller: UserController.updateName
  • Response: 401: keys message, 400: keys message, 200: keys error, message, 500: keys message