Last updated 6 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", "lastLogin": "2024-11-10T21:32:58.421Z", "dateJoined": "2024-11-10T21:32:58.421Z", "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", "lastLogin": "2024-11-10T21:32:58.421Z", "dateJoined": "2024-11-10T21:32:58.421Z", "status": 1 }