接口说明
删除镜像会删除该镜像下所有标签(tags),请谨慎操作。请求头
枚举值:application/json。
Bearer 身份验证格式,例如:Bearer {{API 密钥}}。
请求体
镜像 ID。
curl --request POST \
--url https://api.ppinfra.com/gpu-instance/openapi/v1/image/delete \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--data '{
"imageId": "<string>"
}'
curl --request POST \
--url https://api.ppinfra.com/gpu-instance/openapi/v1/image/delete \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--data '{
"imageId": "<string>"
}'
curl --location --request POST 'https://api.ppinfra.com/gpu-instance/openapi/v1/image/delete' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{API_KEY}}' \
--data-raw '{
"imageId": "216"
}'