Users
Users
curl -X GET "https://example.com/api/v1/users"Empty
curl -X GET "https://example.com/api/v1/users/me"Empty
Authorization
bearer_auth AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X PUT "https://example.com/api/v1/users/me" \ -H "Content-Type: application/json" \ -d '{}'Empty
Authorization
bearer_auth AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X PUT "https://example.com/api/v1/users/me/password" \ -H "Content-Type: application/json" \ -d '{ "new_password": "string", "old_password": "string" }'Empty
Authorization
bearer_auth AuthorizationBearer <token>
In: header
Path Parameters
id*string
User ID
Response Body
curl -X GET "https://example.com/api/v1/users/string"Empty
Authorization
bearer_auth AuthorizationBearer <token>
In: header
Path Parameters
id*string
User ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X PUT "https://example.com/api/v1/users/string/role" \ -H "Content-Type: application/json" \ -d '{}'Empty
