Update your Zero Trust organization

Updates the configuration for your Zero Trust organization.

/zones/{identifier}/access/organizations

put

Zone-Level Zero Trust organization

zone-level-zero-trust-organization-update-your-zero-trust-organization

Debug "planAvailability"

null

Debug "tokenPermissions"

null

Debug "parameters"

[
  {
    "in": "path",
    "name": "identifier",
    "required": true,
    "schema": {
      "example": "699d98642c564d2e855e9661899b7252"
    }
  }
]

Debug "requestBody"

{
  "content": {
    "application/json": {
      "schema": {
        "properties": {
          "auth_domain": {
            "description": "The unique subdomain assigned to your Zero Trust organization.",
            "example": "test.cloudflareaccess.com",
            "type": "string"
          },
          "is_ui_read_only": {
            "description": "Lock all settings as Read-Only in the Dashboard, regardless of user permission. Updates may only be made via the API or Terraform for this account when enabled.",
            "example": "false",
            "type": "boolean"
          },
          "login_design": {
            "properties": {
              "background_color": {
                "description": "The background color on your login page.",
                "example": "#c5ed1b",
                "type": "string"
              },
              "footer_text": {
                "description": "The text at the bottom of your login page.",
                "example": "This is an example description.",
                "type": "string"
              },
              "header_text": {
                "description": "The text at the top of your login page.",
                "example": "This is an example description.",
                "type": "string"
              },
              "logo_path": {
                "description": "The URL of the logo on your login page.",
                "example": "https://example.com/logo.png",
                "type": "string"
              },
              "text_color": {
                "description": "The text color on your login page.",
                "example": "#c5ed1b",
                "type": "string"
              }
            }
          },
          "name": {
            "description": "The name of your Zero Trust organization.",
            "example": "Widget Corps Internal Applications",
            "type": "string"
          },
          "ui_read_only_toggle_reason": {
            "description": "A description of the reason why the UI read only field is being toggled.",
            "example": "Temporarily turn off the UI read only lock to make a change via the UI",
            "type": "string"
          },
          "user_seat_expiration_inactive_time": {
            "description": "The amount of time a user seat is inactive before it expires. When the user seat exceeds the set time of inactivity, the user is removed as an active seat and no longer counts against your Teams seat count. Must be in the format `300ms` or `2h45m`. Valid time units are: `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`.",
            "example": "720h",
            "type": "string"
          }
        }
      }
    }
  },
  "required": true
}

Debug "responses"

{
  "200": {
    "content": {
      "application/json": {
        "schema": {
          "allOf": [
            {
              "allOf": [
                {
                  "properties": {
                    "errors": {
                      "example": [],
                      "items": {
                        "properties": {
                          "code": {
                            "minimum": 1000,
                            "type": "integer"
                          },
                          "message": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "code",
                          "message"
                        ],
                        "type": "object",
                        "uniqueItems": true
                      },
                      "type": "array"
                    },
                    "messages": {
                      "example": [],
                      "items": {
                        "properties": {
                          "code": {
                            "minimum": 1000,
                            "type": "integer"
                          },
                          "message": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "code",
                          "message"
                        ],
                        "type": "object",
                        "uniqueItems": true
                      },
                      "type": "array"
                    },
                    "result": {
                      "anyOf": [
                        {
                          "type": "object"
                        },
                        {
                          "items": {},
                          "type": "array"
                        },
                        {
                          "type": "string"
                        }
                      ]
                    },
                    "success": {
                      "description": "Whether the API call was successful",
                      "enum": [
                        true
                      ],
                      "example": true,
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "success",
                    "errors",
                    "messages",
                    "result"
                  ],
                  "type": "object"
                },
                {
                  "properties": {
                    "result": {
                      "anyOf": [
                        {
                          "type": "object"
                        },
                        {
                          "type": "string"
                        }
                      ]
                    }
                  }
                }
              ],
              "type": "object"
            },
            {
              "properties": {
                "result": {
                  "properties": {
                    "auth_domain": {
                      "description": "The unique subdomain assigned to your Zero Trust organization.",
                      "example": "test.cloudflareaccess.com",
                      "type": "string"
                    },
                    "created_at": {
                      "example": "2014-01-01T05:20:00.12345Z",
                      "format": "date-time",
                      "readOnly": true,
                      "type": "string"
                    },
                    "is_ui_read_only": {
                      "description": "Lock all settings as Read-Only in the Dashboard, regardless of user permission. Updates may only be made via the API or Terraform for this account when enabled.",
                      "example": "false",
                      "type": "boolean"
                    },
                    "login_design": {
                      "properties": {
                        "background_color": {
                          "description": "The background color on your login page.",
                          "example": "#c5ed1b",
                          "type": "string"
                        },
                        "footer_text": {
                          "description": "The text at the bottom of your login page.",
                          "example": "This is an example description.",
                          "type": "string"
                        },
                        "header_text": {
                          "description": "The text at the top of your login page.",
                          "example": "This is an example description.",
                          "type": "string"
                        },
                        "logo_path": {
                          "description": "The URL of the logo on your login page.",
                          "example": "https://example.com/logo.png",
                          "type": "string"
                        },
                        "text_color": {
                          "description": "The text color on your login page.",
                          "example": "#c5ed1b",
                          "type": "string"
                        }
                      }
                    },
                    "name": {
                      "description": "The name of your Zero Trust organization.",
                      "example": "Widget Corps Internal Applications",
                      "type": "string"
                    },
                    "ui_read_only_toggle_reason": {
                      "description": "A description of the reason why the UI read only field is being toggled.",
                      "example": "Temporarily turn off the UI read only lock to make a change via the UI",
                      "type": "string"
                    },
                    "updated_at": {
                      "example": "2014-01-01T05:20:00.12345Z",
                      "format": "date-time",
                      "readOnly": true,
                      "type": "string"
                    },
                    "user_seat_expiration_inactive_time": {
                      "description": "The amount of time a user seat is inactive before it expires. When the user seat exceeds the set time of inactivity, the user is removed as an active seat and no longer counts against your Teams seat count. Must be in the format `300ms` or `2h45m`. Valid time units are: `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`.",
                      "example": "720h",
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              }
            }
          ]
        }
      }
    },
    "description": "Update your Zero Trust organization response"
  },
  "4XX": {
    "content": {
      "application/json": {
        "schema": {
          "properties": {
            "errors": {
              "allOf": [
                {
                  "example": [],
                  "items": {
                    "properties": {
                      "code": {
                        "minimum": 1000,
                        "type": "integer"
                      },
                      "message": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "code",
                      "message"
                    ],
                    "type": "object",
                    "uniqueItems": true
                  },
                  "type": "array"
                }
              ],
              "example": [
                {
                  "code": 7003,
                  "message": "No route for the URI"
                }
              ],
              "minLength": 1
            },
            "messages": {
              "allOf": [
                {
                  "example": [],
                  "items": {
                    "properties": {
                      "code": {
                        "minimum": 1000,
                        "type": "integer"
                      },
                      "message": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "code",
                      "message"
                    ],
                    "type": "object",
                    "uniqueItems": true
                  },
                  "type": "array"
                }
              ],
              "example": []
            },
            "result": {
              "enum": [
                null
              ],
              "nullable": true,
              "type": "object"
            },
            "success": {
              "description": "Whether the API call was successful",
              "enum": [
                false
              ],
              "example": false,
              "type": "boolean"
            }
          },
          "required": [
            "success",
            "errors",
            "messages",
            "result"
          ],
          "type": "object"
        }
      }
    },
    "description": "Update your Zero Trust organization response failure"
  }
}

Debug "security"

[
  {
    "api_email": [],
    "api_key": []
  }
]