Delete enrollment token

Revokes and deletes an enrollment token.

Request

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

Path Parameters

token (required)
(string) The token identifier (or token itself) to revoke

Responses

200
(EmptyResponse) The supplied token has been revoked and can no longer be used to start services on new servers
404
(BasicFailedReply) Token not found (code: 'enrollment_tokens.invalid_token_id')
449
(BasicFailedReply) When running as an administrator (other than root), sudo is required (code: 'root.needs_sudo')