Product documentation
GeoPolicy
The GeoPolicy resource.
GeoPolicy
The GeoPolicy resource.
Base URL: https://api.stg.thoryn.org
Operations
| Method | Path | Summary | Scopes |
|---|---|---|---|
GET | /api/v1/geo-policy | Geo Policy Get | tenant:geo.read |
PUT | /api/v1/geo-policy | Geo Policy Put | tenant:geo.write |
DELETE | /api/v1/geo-policy | Geo Policy Delete | tenant:geo.write |
Operation details
GET /api/v1/geo-policy
Geo Policy Get
- Operation ID:
geoPolicyGet - Required scopes:
tenant:geo.read
Responses:
| Status | Description | Body |
|---|---|---|
200 | OK | GeoPolicyResponse |
401 | Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim. | Problem (problem+json) |
403 | Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path. | Problem (problem+json) |
PUT /api/v1/geo-policy
Geo Policy Put
- Operation ID:
geoPolicyPut - Required scopes:
tenant:geo.write
Request body (required): application/json → PutGeoPolicyRequest
Responses:
| Status | Description | Body |
|---|---|---|
200 | OK | GeoPolicyResponse |
401 | Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim. | Problem (problem+json) |
403 | Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path. | Problem (problem+json) |
DELETE /api/v1/geo-policy
Geo Policy Delete
- Operation ID:
geoPolicyDelete - Required scopes:
tenant:geo.write
Responses:
| Status | Description | Body |
|---|---|---|
204 | Reset to no geo constraint; no content. | — |
401 | Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim. | Problem (problem+json) |
403 | Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path. | Problem (problem+json) |