Delete enrollment token

DELETE /platform/configuration/security/enrollment-tokens/{token}

Revokes and deletes the enrollment token.

Path parameters

  • token string Required

    The token or token identifier to revoke.

Responses

  • The supplied token has been revoked and can no longer be used to start services on new servers

    Additional properties are allowed.

  • Token not found (code: 'enrollment_tokens.invalid_token_id')

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

      A list of errors that occurred in the failing request

      Hide errors attributes Show errors attributes object
      • code string Required

        A structured code representing the error type that occurred

      • message string Required

        A human readable message describing the error that occurred

      • fields array[string]

        If the error can be tied to a specific field or fields in the user request, this lists those fields

DELETE /platform/configuration/security/enrollment-tokens/{token}
curl \
 -X DELETE https://{{hostname}}/api/v1/platform/configuration/security/enrollment-tokens/{token}
Response examples (200)
{}
Response examples (404)
{
  "errors": [
    {
      "code": "string",
      "message": "string",
      "fields": [
        "string"
      ]
    }
  ]
}