Users
User management operations
Updates the currently authenticated user's information.
Authorizations
accessTokenstringRequired
Body
emailstring · emailOptional
User's new email address.
passwordstring · passwordOptional
User's new password (at least 6 characters).
Responses
200
User updated successfully.
No content
400
Bad request (e.g., invalid input).
401
Unauthorized.
put
/users/currentNo content
Retrieves a list of all users (admin only).
Authorizations
accessTokenstringRequired
Query parameters
limitintegerOptionalDefault:
The number of users to return.
10offsetintegerOptionalDefault:
The number of users to skip.
0Responses
200
A list of users.
application/json
401
Unauthorized.
403
Forbidden.
get
/usersDeletes a user by their ID (admin only).
Authorizations
accessTokenstringRequired
Path parameters
userIdstringRequired
The ID of the user to delete.
Responses
200
User deleted successfully.
No content
401
Unauthorized.
403
Forbidden.
404
Not found.
delete
/users/{userId}No content
