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

  • 200 application/json

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

  • 404 application/json

    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 \
 --request DELETE 'https://{{hostname}}/api/v1/platform/configuration/security/enrollment-tokens/{token}' \
 --user "username:password"