Get the API tokens collection.
#330:
Change request updated 2 months ago
Success
const response = await fetch('https://api.platform.softwareone.com/public/v1/accounts/api-tokens', { method: 'GET', headers: {}, }); const data = await response.json();
{ "data": [ { "id": "text", "href": "text", "status": "text", "name": "text", "description": "text", "icon": "text", "lastAccessAt": "2025-01-23T21:05:43.207Z", "token": "text", "modules": [ { "id": "text", "href": "text", "description": "text", "isConfigurable": false, "isEnabledByDefault": false, "paid": false, "name": "text", "accountTypes": [ "text" ] } ] } ] }