Users

User management operations

Get Current User Profile

get

Retrieves the profile of the currently authenticated user.

Authorizations
AuthorizationstringRequired

JWT Access Token obtained via login/register/refresh

Responses
200

Current user profile data.

application/json
get
/users/current

Update Current User Profile

put

Updates the profile of the currently authenticated user.

Authorizations
AuthorizationstringRequired

JWT Access Token obtained via login/register/refresh

Body
usernamestring · max: 20Optional

User's unique username

emailstring · email · max: 50Optional

User's unique email address

passwordstring · min: 8Write-onlyOptional

New password (min 8 chars)

first_namestring · max: 20Optional

User's first name

last_namestring · max: 20Optional

User's last name

websitestring · url · max: 100Optional
facebookstring · url · max: 100Optional
instagramstring · url · max: 100Optional
linkedinstring · url · max: 100Optional
xstring · url · max: 100Optional
youtubestring · url · max: 100Optional
Responses
200

User profile updated successfully.

application/json
put
/users/current

Delete Current User Account

delete

Deletes the account of the currently authenticated user and their associated data.

Authorizations
AuthorizationstringRequired

JWT Access Token obtained via login/register/refresh

Responses
delete
/users/current

No content

Get All Users (Admin)

get

Retrieves a paginated list of all users. Admin role required.

Authorizations
AuthorizationstringRequired

JWT Access Token obtained via login/register/refresh

Query parameters
limitinteger · min: 1 · max: 50Optional

Maximum number of items to return.

Default: 20
offsetintegerOptional

Number of items to skip for pagination.

Default: 0
Responses
200

A list of users.

application/json
get
/users/

Get User by ID (Admin)

get

Retrieves profile information for a specific user. Admin role required.

Authorizations
AuthorizationstringRequired

JWT Access Token obtained via login/register/refresh

Path parameters
userIdstring · objectidRequired

ID of the user.

Responses
200

Specific user profile data.

application/json
get
/users/{userId}

Delete User by ID (Admin)

delete

Deletes a specific user account and their associated data. Admin role required.

Authorizations
AuthorizationstringRequired

JWT Access Token obtained via login/register/refresh

Path parameters
userIdstring · objectidRequired

ID of the user.

Responses
delete
/users/{userId}

No content

Last updated

Was this helpful?