Admin Super Admin Only

Get all users with filters (Super Admin only)

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
pagenumber · min: 1OptionalDefault: 1
limitnumber · min: 1 · max: 100OptionalDefault: 20
searchstringOptional

Search in email, name, firstname, lastname, pseudo

rolestring · enumOptionalPossible values:
statusstringOptional
verifiedbooleanOptional
sortBystringOptionalDefault: created_at
sortOrderstring · enumOptionalPossible values:
minBrandsnumberOptional

Minimum number of brands

maxBrandsnumberOptional

Maximum number of brands

minProductsnumberOptional

Minimum number of products

maxProductsnumberOptional

Maximum number of products

Responses
200

Users retrieved successfully

No content

get
/admin/users

No content

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
limitnumberOptional
searchstringRequired
Responses
200

Users found successfully

No content

get
/admin/users/search
200

Users found successfully

No content

Get detailed user information (Super Admin only)

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
userIdstringRequired
Responses
200

User details retrieved successfully

No content

get
/admin/users/{userId}

No content

Update user information (Super Admin only)

put
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
userIdstringRequired
Body
emailstringOptional
namestringOptional
firstnamestringOptional
lastnamestringOptional
rolestring · enumOptionalPossible values:
email_verifiedbooleanOptional
phone_numberstringOptional
phone_number_country_codestringOptional
phone_number_verifiedbooleanOptional
user_accept_notification_by_smsbooleanOptional
user_accept_notification_by_emailbooleanOptional
Responses
200

User updated successfully

No content

put
/admin/users/{userId}

No content

Delete a user account (Super Admin only)

delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
userIdstringRequired
Responses
200

User deleted successfully

No content

delete
/admin/users/{userId}

No content

Get user activity logs (Super Admin only)

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
userIdstringRequired
Query parameters
daysnumberRequired
Responses
200

User activity retrieved successfully

No content

get
/admin/users/{userId}/activity

No content

Get all brands associated with a user (Super Admin only)

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
userIdstringRequired
Responses
200

User brands retrieved successfully

No content

get
/admin/users/{userId}/brands
200

User brands retrieved successfully

No content

Get all products created by a user (Super Admin only)

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
userIdstringRequired
Query parameters
pagenumberRequired
limitnumberRequired
Responses
200

User products retrieved successfully

No content

get
/admin/users/{userId}/products
200

User products retrieved successfully

No content

Suspend a user account (Super Admin only)

put
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
userIdstringRequired
Responses
200

User suspended successfully

No content

put
/admin/users/{userId}/suspend

No content

Activate a suspended user account (Super Admin only)

put
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
userIdstringRequired
Responses
200

User activated successfully

No content

put
/admin/users/{userId}/activate

No content

Manually verify user email (Super Admin only)

put
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
userIdstringRequired
Responses
200

Email verified successfully

No content

put
/admin/users/{userId}/verify-email
200

Email verified successfully

No content

Reset user MFA (Super Admin only)

put
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
userIdstringRequired
Responses
200

MFA reset successfully

No content

put
/admin/users/{userId}/reset-mfa
200

MFA reset successfully

No content

Get platform statistics (Super Admin only)

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Statistics retrieved successfully

No content

get
/admin/statistics
200

Statistics retrieved successfully

No content

Get audit logs (Super Admin only)

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
endDatestring · date-timeOptional
startDatestring · date-timeOptional
actionstringOptional
userIdstringOptional
limitnumberOptional
pagenumberOptional
Responses
200

Audit logs retrieved successfully

No content

get
/admin/audit-logs
200

Audit logs retrieved successfully

No content

Get all brands with filters (Super Admin only)

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
limitnumberOptional
pagenumberOptional
searchstringOptional
Responses
200

Brands retrieved successfully

No content

get
/admin/brands
200

Brands retrieved successfully

No content

Get brand details (Super Admin only)

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
brandIdstringRequired
Responses
200

Brand details retrieved successfully

No content

get
/admin/brands/{brandId}

No content

Update brand (Super Admin only)

put
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
brandIdstringRequired
Responses
200

Brand updated successfully

No content

put
/admin/brands/{brandId}

No content

Get all users of a brand (Super Admin only)

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
brandIdstringRequired
Responses
200

Brand users retrieved successfully

No content

get
/admin/brands/{brandId}/users

No content

Add user to brand (Super Admin only)

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
brandIdstringRequired
Responses
200

User added to brand successfully

No content

post
/admin/brands/{brandId}/add-user

No content

Remove user from brand (Super Admin only)

delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
brandIdstringRequired
userIdstringRequired
Responses
200

User removed from brand successfully

No content

delete
/admin/brands/{brandId}/remove-user/{userId}

No content

Update user role in brand (Super Admin only)

put
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
brandIdstringRequired
userIdstringRequired
Responses
200

User role updated successfully

No content

put
/admin/brands/{brandId}/update-user/{userId}

No content

Last updated