POST
/
gpu-instance
/
openapi
/
v1
/
endpoint
/
delete
curl --request POST \
  --url https://api.ppinfra.com/gpu-instance/openapi/v1/endpoint/delete \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '{
  "name": "<string>"
}'

接口说明

删除 Endpoint 后,与该 Endpoint 关联的工作进程将被自动删除,请谨慎操作。

请求头

Content-Type
string
required

枚举值:application/json。

Authorization
string
required

Bearer 身份验证格式,例如:Bearer {{API 密钥}}。

请求体

name
string
required

要删除的 Endpoint ID。