Updated on 2025-07-11 GMT+08:00

Deleting a Template

Function

This API is used to delete an RFS template.

URI

DELETE https://{endpoint}/v1/rgc/templates/{template_name}

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

template_name

Yes

String

Template name.

Request Parameters

None

Response Parameters

Status code: 204

Deleted successfully.

Status code: 403

Table 2 Response body parameters

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.

Table 3 ForbiddenErrorDetail

Parameter

Type

Description

error_code

String

Error code.

error_msg

String

Error message.

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.