API reference · Origins and routes
Get an origin
GET
/v1/orgs/{org}/zones/{zone}/origins/{origin}- Permission
origins.origins.read- Operation
origins.origins.get
Parameters
| Name | In | Type | Required | Notes |
|---|---|---|---|---|
org | path | string | yes | for example "org_01h455vb4pex5vsknk084sn02q" |
zone | path | string | yes | for example "zone_01h455vb4pex5vsknk084sn02q" |
origin | path | string | yes | for example "origin_01h455vb4pex5vsknk084sn02q" |
x-obhut-management-assignment | header | string | no | Select one staff assignment. Direct membership remains the default. Bound API tokens use their stored source and ignore this selector. For example "masg_01h455vb4pex5vsknk084sn02q" |
Response 200
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes | for example "origin_01h455vb4pex5vsknk084sn02q" |
zoneId | string | yes | for example "zone_01h455vb4pex5vsknk084sn02q" |
name | string | yes | |
target | object or object or object or object or object | yes | |
target.kind | "address" | yes | |
target.host | string | yes | 1 to 253 characters |
target.scheme | string | yes | one of "https", "http"; default "https" |
target.tlsVerify | boolean | yes | default true |
target.tlsServerName | string or null | yes | default null |
target.hostHeader | string or null | yes | default null |
target.port | integer | yes | 1 to 65535 |
target.connector | string | yes | for example "conn_01h455vb4pex5vsknk084sn02q" |
target.service | string | yes | |
target.deployment | string or null | yes | |
target.allOrganizations | boolean | yes | |
protectionRequired | boolean | yes | |
revision | string | yes | Opaque revision: dot-joined counters. |
createdAt | string (date-time) | yes | UTC, ISO 8601. |
updatedAt | string (date-time) | yes | UTC, ISO 8601. |