elixir-ecommerce-api icon indicating copy to clipboard operation
elixir-ecommerce-api copied to clipboard

Users/Profile

Open lmeireles opened this issue 5 years ago • 0 comments

Types of User

  • User
  • Admin

Endpoints Users

  • [ ] GET /v1/users - List all users (Admin Only)
  • [ ] GET /v1/users/{:ID} - Get user by ID (Admin Only)
  • [ ] PUT /v1/users/{:ID} - Update user by ID (Admin Only)
  • [ ] DELETE /v1/users/{:ID} - Set User as inactive (Admin Only)

Endpoints Profile

  • [ ] GET /v1/profile - Get current user
  • [ ] POST /v1/profile - Create a new user
  • [ ] PUT /v1/profile - Update current user
  • [ ] DELETE /v1/profile - Set current user as inactive and invalidate token

lmeireles avatar Jan 02 '20 17:01 lmeireles