Last updated 7 months ago
Successful Response
An enumeration.
const response = await fetch('/api/v1/legacy/users/token', { method: 'GET', headers: {}, }); const data = await response.json();
{ "token": "text" }
const response = await fetch('/api/v1/legacy/users', { method: 'GET', headers: {}, }); const data = await response.json();
[ { "name": "text", "email": "text", "id": 0, "lastLogin": "2024-12-21T12:23:12.602Z", "dateJoined": "2024-12-21T12:23:12.602Z", "status": 1 } ]
const response = await fetch('/api/v1/legacy/users/{id_}', { method: 'DELETE', headers: {}, }); const data = await response.json();
{ "detail": [ { "loc": [ "text" ], "msg": "text", "type": "text" } ] }
const response = await fetch('/api/v1/legacy/users/invite', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "name": "text", "email": "text" }), }); const data = await response.json();
{ "name": "text", "email": "text", "id": 0, "lastLogin": "2024-12-21T12:23:12.602Z", "dateJoined": "2024-12-21T12:23:12.602Z", "status": 1 }