Skip to main content

DELETE API_TOKEN

Description

Delete an API token for a service principal.

Note that the SQL statement does not end with ;

Syntax

DELETE API_TOKEN `<token-name>`
SERVICE_PRINCIPAL = '<service-principal-name>'

Example

DELETE API_TOKEN `warehouse_loader`
SERVICE_PRINCIPAL = 'my_service_principal'

Required parameters

  • <token-name>: Identifier for the API token to delete.
  • SERVICE_PRINCIPAL: The service principal that owns the token.
    • Provide the existing service principal name as a string.