Enable Token

Enable the specified token object.

POSThttps://api.platform.softwareone.com/public/v1/accounts/api-tokens/{id}/enable
Path parameters
id*string
Response

Success

Body
idstring
auditobject
$metaobject
hrefstring
statusstring
namestring
descriptionnullable string
iconnullable string
lastAccessAtnullable string (date-time)
tokenstring
accountobject
modulesarray of ModuleQueryModel (object)
Request
const response = await fetch('https://api.platform.softwareone.com/public/v1/accounts/api-tokens/{id}/enable', {
    method: 'POST',
    headers: {},
});
const data = await response.json();
Response
{
  "id": "text",
  "href": "text",
  "status": "text",
  "name": "text",
  "description": "text",
  "icon": "text",
  "lastAccessAt": "2024-09-19T16:42:19.796Z",
  "token": "text",
  "modules": [
    {
      "id": "text",
      "href": "text",
      "description": "text",
      "isConfigurable": false,
      "isEnabledByDefault": false,
      "paid": false,
      "name": "text",
      "accountTypes": [
        "text"
      ]
    }
  ]
}

Last updated

SoftwareOne is a trademark of SoftwareOne, Inc. "The Software Licensing Experts" is a service mark of SoftwareOne, Inc. VAR assist is a trademark of SoftwareOne, Inc. "It pays to partner" is a service mark of SoftwareOne, Incorporated.

Change request #498: