Article summary
Did you find this summary helpful?
Thank you for your feedback!
Put
/v2.1/networks/{networkId}/regions
Required permissions: ["Network:Update"]
Network Update.
Security
HTTP
Type bearer
Path parameters
networkId
stringRequired
Body parameters
object
regionId
string Required
Cloud provider region ID.
idle
boolean Required
Create the gateway as disabled if true.
Defaultfalse
Responses
202
Request accepted
object
resource
string
statusCode
integer
reason
Array of string
Reasons list.
string
400
Bad request
401
Unauthorized
403
Forbbiden
404
Network not found
409
Network region exists
Response
application/json
Click Try It! to start a request and see the response here!
Code Samples
xxxxxxxxxx
curl --request PUT \
--url https://virtserver.swaggerhub.com/perimeter81/public-api-yaml/1.0.0/v2.1/networks/%7BnetworkId%7D/regions \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"regionId": "string",
"idle": true
}'
Was this article helpful?
Response
application/json
Click Try It! to start a request and see the response here!
Code Samples
xxxxxxxxxx
curl --request PUT \
--url https://virtserver.swaggerhub.com/perimeter81/public-api-yaml/1.0.0/v2.1/networks/%7BnetworkId%7D/regions \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"regionId": "string",
"idle": true
}'