Skip to main content
POST
Download User Data
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

/user/download/csv Description:
The /user/download/csv endpoint allows users to download their data in CSV format.
Authorization:
  • Required role: admin or higher
Method:
POST
Request Payload:

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Body

application/json
userIds
string[]

An array of user IDs to download data for. If not provided, downloads all users.

Response

Success

The response is of type object.