Create a new zone.

Create a new zone.

SecuritybearerAuth
Request
path Parameters
accountId
required
string <uuid>

Account ID to create a new zone.

Request Body schema: application/json
name
required
string [ 0 .. 45 ] characters
Responses
201

Successful Operation

400

Invalid Request

401

Access token is missing or invalid

403

You do not have permission to perform this action.

404

Entity not found

429

Too many requests

post/accounts/{accountId}/zones
Request samples
application/json
{
  • "name": "string"
}
Response samples
application/json
{
  • "id": "2e9a5cab-31af-402e-87b7-a691371d42d0",
  • "organization_id": 845230,
  • "account_id": "c8e7dd4e-569d-4280-90f8-706fc944baf8",
  • "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
  • "name": "My New Zone",
  • "created_by": {
    • "id": "03703083-591e-43cb-b02f-716520a8705e",
    • "user_id": 2506247,
    • "email": "somebody@example.com",
    • "first_name": "John",
    • "last_name": "Doe",
    • "status": "pending-invite",
    • "account_rbac_role": "global-admin",
    • "is_verified": true,
    • "two_factor_authentication": "email",
    • "created_at": "2021-10-20T16:03:25+0000"
    },
  • "access_key": "e763151d-9cdb-410b-99ff-d812b8f4723c",
  • "created_at": "2021-10-20T16:03:25+0000",
  • "updated_at": "2021-10-20T16:03:25+0000"
}