mc table share token remove

The mc table share token remove command revokes an access token for Delta Sharing.

After removal, any external consumers using the token lose access to the shared tables.

Parameters

ALIAS

Required

The alias of a MinIO AIStor cluster.

TOKEN_ID

Required

The ID of the token to remove. Use mc table share token list to find token IDs.

Global flags

This command supports any of the global flags.

Examples

Remove a token

Use mc table share token remove to revoke a token:

mc table share token remove ALIAS TOKEN_ID
  • Replace ALIAS with the alias of the MinIO AIStor cluster.
  • Replace TOKEN_ID with the ID of the token to remove.

Token removal takes effect immediately and propagates cluster-wide. MinIO AIStor invalidates the token on the local node and notifies every other node in the deployment to do the same, so external consumers lose access on every node and endpoint as soon as the operation completes. Revocation does not wait for the token to expire.

For more information, see Token scope and revocation.