跳转到主要内容
PUT
/
v3beta1
/
enterprise
/
ip-access-list
替换 IP 允许列表
curl --request PUT \
  --url https://api.devin.ai/v3beta1/enterprise/ip-access-list \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "ip_ranges": [
    "<string>"
  ]
}
'
{
  "ip_ranges": [
    "<string>"
  ]
}

权限

需要一名在 Enterprise 级别拥有 ManageEnterpriseSettings 权限的服务用户。

授权

Authorization
string
header
必填

服务用户凭据(前缀:cog_)

请求体

application/json
ip_ranges
string[]
必填

响应

成功响应

ip_ranges
string[]
必填