Get enrollment tokens

GET /platform/configuration/security/enrollment-tokens

Retrieves a list of active enrollment tokens.

Responses

  • A token has been generated that can be used to start new servers with the requested roles

    Hide response attribute Show response attribute object
    • tokens array[object] Required

      The list of currently active enrollment tokens

      Hide tokens attributes Show tokens attributes object
      • token_id string Required

        An identifier for the token

      • roles array[string] Required

        The services for which this enrollment token applies

GET /platform/configuration/security/enrollment-tokens
curl \
 -X GET https://{{hostname}}/api/v1/platform/configuration/security/enrollment-tokens
Response examples (200)
{
  "tokens": [
    {
      "token_id": "string",
      "roles": [
        "string"
      ]
    }
  ]
}