请求头
枚举值:application/json。
Bearer 身份验证格式,例如:Bearer {{API 密钥}}。
请求体
预热任务 ID。
预热任务备注。
curl --request POST \
--url https://api.ppinfra.com/gpu-instance/openapi/v1/image/prewarm/edit \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--data '{
"id": "<string>",
"note": "<string>"
}'
curl --request POST \
--url https://api.ppinfra.com/gpu-instance/openapi/v1/image/prewarm/edit \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--data '{
"id": "<string>",
"note": "<string>"
}'
curl --location --request POST 'https://api.ppinfra.com/gpu-instance/openapi/v1/image/prewarm/edit' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{API_KEY}}' \
--data-raw '{
"id": "nzd5nyi4keefsv2d",
"note": ""
}'