跳转到主要内容
POST
https://api.ppio.com
/
gpu-instance
/
openapi
/
v1
/
template
/
delete
删除模板
curl --request POST \
  --url https://api.ppio.com/gpu-instance/openapi/v1/template/delete \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "templateId": "<string>"
}
'
{
  "templateId": "<string>"
}

请求头

Content-Type
string
必填
枚举值:application/json。
Authorization
string
必填
Bearer 身份验证格式,例如:Bearer {{API 密钥}}。

请求体

templateId
string
必填
模板 ID。长度:[1-255]。

响应参数

templateId
string
必填
模板 ID。

示例

请求示例

curl --location --request POST 'https://api.ppio.com/gpu-instance/openapi/v1/template/delete' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{API 密钥}}' \
--data-raw '{
  "templateId": "101036"
}'

响应示例

{
  "templateId": "101036"
}