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

请求头

Content-Type
string
required

枚举值:application/json。

Authorization
string
required

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

请求体

networkId
string
required

集群ID。字符串,长度限制:1-255 字符。

name
string

自定义网络名称。字符串,长度限制:1-30 字符。