Loading...
Create a new token object for the specific account.
Created
const response = await fetch('https://api.platform.softwareone.com/public/v1/accounts/api-tokens', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
{ "id": "text", "href": "text", "status": "text", "name": "text", "description": "text", "icon": "text", "lastAccessAt": "2024-11-15T10:53:15.540Z", "token": "text", "modules": [ { "id": "text", "href": "text", "description": "text", "isConfigurable": false, "isEnabledByDefault": false, "paid": false, "name": "text", "accountTypes": [ "text" ] } ] }