Deleting a Template
Function
This API is used to delete an RFS template.
Authorization Information
Each account root user has all the permissions required to call all APIs, but IAM users must be assigned the following required identity policy-based permissions. For details about the required permissions, see Permissions Policies and Supported Actions.
|
Action |
Access Level |
Resource Type (*: required) |
Condition Key |
Alias |
Dependencies |
|---|---|---|---|---|---|
|
rgc:template:delete |
Write |
- |
- |
- |
- |
URI
DELETE /v1/rgc/templates/{template_name}
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
template_name |
Yes |
String |
Template name. |
Request Parameters
None
Response Parameters
Status code: 204
Deleted successfully.
Status code: 403
|
Parameter |
Type |
Description |
|---|---|---|
|
error_code |
String |
Error code. |
|
error_msg |
String |
Error message. |
|
request_id |
String |
Unique ID of the request. |
|
encoded_authorization_message |
String |
Encrypted error message. |
|
details |
Array of ForbiddenErrorDetail objects |
Error message indicating no permissions for cross-service invoking. |
Example Requests
Deleting an RFS template
DELETE https://{endpoint}/v1/rgc/templates/{template_name}
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
204 |
Deleted successfully. |
|
403 |
No permissions. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot