OrgsSecurity Zones

updateOrgSecurityZone

PUT
/api/v1/orgs/{org_id}/securityzones/{securityzone_id}

Update an organization security zone. Renaming a zone changes the security zone name used on the device for every Network referencing it.

Authorization

Authorization<token>

Preferred authentication method for automation and integrations. Send the API token in the HTTP Authorization header.

Format: Authorization: Token {apitoken}

Notes:

  • An API token generated for a specific admin has the same privileges as that admin
  • An API token is automatically removed if it is not used for more than 90 days
  • SSO admins cannot generate admin API tokens. Use organization API tokens when scoped Org/Site privileges are needed.

In: header

Path Parameters

org_id*string
Formatuuid
securityzone_id*string
Formatuuid

Request Body

application/json

Request Body

Org-level security zone used by SRX gateways. The zone name is used as the security zone name on the device, and Networks reference a zone through their zone_id.

name*string

Security zone name used on the device. Must start with a letter or a digit, followed by letters, digits, hyphens or underscores

Match^[a-zA-Z0-9][a-zA-Z0-9_-]{0,63}$
Length1 <= length <= 64

Response Body

curl -X PUT "https://example.com/api/v1/orgs/000000ab-00ab-00ab-00ab-0000000000ab/securityzones/000000ab-00ab-00ab-00ab-0000000000ab" \  -H "Content-Type: application/json" \  -d '{    "name": "corp-zone"  }'
{  "created_time": 1656353525,  "id": "a045ea40-ccd0-4660-8f35-0305fae26e9c",  "modified_time": 1656353525,  "name": "corp-zone",  "org_id": "b069b358-4c97-5319-1f8c-7c5ca64d6ab1"}