This API is used to delete a tag from a specified shared file system.
If the key to be deleted does not exist in the shared file system, error 404 is returned after API calling.
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
string |
Specifies the project ID of the operator. |
share_id |
Yes |
string |
Specifies the ID of the shared file system. |
key |
Yes |
string |
Specifies the key of the tag. The value can contain a maximum of 36 characters. This parameter cannot be left empty. It cannot contain the following characters: ASCII (0-31), asterisks (*), left angle brackets (<), right angle brackets (>), backslashes (\), equal signs (=), commas (,), vertical bars (|), and slashes (/). It can contain only letters, digits, hyphens (-), and underscores (_). NOTE:
When calling this API to delete a tag, if the tag key contains special characters that are not directly resolved by the URL, the key needs to be escaped. |
Status Code |
Description |
---|---|
400 Bad Request |
Invalid value. |
401 Unauthorized |
Authentication failed. |
403 Forbidden |
Access to the requested page is forbidden. |
404 Not Found |
The requested resource was not found. |
500 Internal Server Error |
Failed to complete the request, because of a service error. |