vserver object-store-server bucket cors-rule delete
Contributors
Suggest changes
Delete a Cross-Origin rule
Availability: This command is available to cluster and Vserver administrators at the admin privilege level.
Description
The vserver object-store-server bucket cors-rule delete
command deletes a cross-origin resource sharing (CORS) rule belonging to the object store server bucket.
Parameters
-vserver <Vserver Name>
- Vserver Name-
This parameter specifies the name of the Vserver hosting the object store server bucket for which the CORS rule will be deleted.
-bucket <TextNoCase>
- Object Store Server Bucket Name-
This parameter specifies the name of the object store server bucket for which the CORS rule will be deleted.
-index <integer>
- Cross-Origin Access Rule Index-
This parameter specifies the index of the object store server bucket CORS rule.
Examples
The following example deletes an object store server bucket CORS rule with index 1 of Vserver vs1 and bucket bucket1.
cluster1::> vserver object-store-server bucket cors-rule delete -vserver vs1 -bucket bucket1 -index 1