Last updated 9 months ago
Was this helpful?
/api/v1/legacy/users
curl -L \ --url '/api/v1/legacy/users' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
[ { "name": "text", "email": "text", "id": 1, "lastLogin": "2025-02-21T18:03:53.252Z", "dateJoined": "2025-02-21T18:03:53.252Z", "status": 1, "role": "ADMIN" } ]
/api/v1/legacy/users/invite
curl -L \ --request POST \ --url '/api/v1/legacy/users/invite' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \ --header 'Content-Type: application/json' \ --data '{"name":"text","email":"text","role":"ADMIN"}'
{ "name": "text", "email": "text", "id": 1, "lastLogin": "2025-02-21T18:03:53.252Z", "dateJoined": "2025-02-21T18:03:53.252Z", "status": 1, "role": "ADMIN" }
/api/v1/legacy/users/{id_}
curl -L \ --request DELETE \ --url '/api/v1/legacy/users/{id_}' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
No body
/api/v1/legacy/users/token
curl -L \ --url '/api/v1/legacy/users/token' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{ "token": "text" }