Create a new zone.

Create a new zone.

SecuritybearerAuth
Request
path Parameters
accountId
required
string <uuid>

Account ID to create a new zone.

Example: 3d89206d-754f-4308-8c81-b1c886f029cf
Request Body schema: application/json
name
required
string [ 0 .. 45 ] characters
Responses
201

Successful Operation

4XX

Invalid Request

post/accounts/{accountId}/zones
Request samples
application/json
{
  • "name": "string"
}
Response samples
application/json
{
  • "summary": "Zone example",
  • "description": "Example of a zone object with complete zone information including creator details and organizational hierarchy",
  • "value": {
    • "id": "00000000-0000-0000-0000-000000000001",
    • "organization_id": 123456,
    • "account_id": "00000000-0000-0000-0000-000000000002",
    • "parent_id": "00000000-0000-0000-0000-000000000003",
    • "name": "Anonymized Zone",
    • "created_by": {
      • "id": "00000000-0000-0000-0000-000000000004",
      • "user_id": 12345,
      • "email": "user@example.com",
      • "first_name": "FirstName",
      • "last_name": "LastName",
      • "status": "active",
      • "account_rbac_role": "global-admin",
      • "is_verified": true,
      • "two_factor_authentication": "email",
      • "created_at": "2023-03-07T17:11:17+0000"
      },
    • "access_key": "00000000-0000-0000-0000-000000000005",
    • "created_at": "2024-04-03T16:19:36+0000",
    • "updated_at": "2024-04-03T16:19:36+0000",
    • "tier": "tier3"
    }
}