mc table share remove
The mc table share remove command deletes a Delta Sharing configuration from a MinIO AIStor cluster.
Removing a share also revokes all associated access tokens.
The following command removes the analytics-share from the myaistor MinIO AIStor cluster:
mc table share remove myaistor/analytics-shareThe command has the following syntax:
mc [GLOBALFLAGS] table share remove ALIAS/SHARE- Brackets
[]indicate optional parameters. - Parameters sharing a line are mutually dependent.
- Parameters separated using the pipe
|operator are mutually exclusive.
Copy the example to a text editor and modify as-needed before running the command in the terminal/shell.
Parameters
ALIAS
Required
The alias of a MinIO AIStor cluster.
SHARE
Required
The name of the share configuration to remove.
Global flags
This command supports any of the global flags.
Examples
Remove a share
Use mc table share remove to delete a share configuration:
mc table share remove ALIAS/SHARE- Replace
ALIASwith the alias of the MinIO AIStor cluster. - Replace
SHAREwith the name of the share to remove.
Removing a share immediately revokes all associated tokens. External consumers using those tokens will lose access.