-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
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