Skip to content

Product documentation

GeoPolicy

The GeoPolicy resource.

GeoPolicy

The GeoPolicy resource.

Base URL: https://api.stg.thoryn.org

Operations

MethodPathSummaryScopes
GET/api/v1/geo-policyGeo Policy Gettenant:geo.read
PUT/api/v1/geo-policyGeo Policy Puttenant:geo.write
DELETE/api/v1/geo-policyGeo Policy Deletetenant:geo.write

Operation details

GET /api/v1/geo-policy

Geo Policy Get

  • Operation ID: geoPolicyGet
  • Required scopes: tenant:geo.read

Responses:

StatusDescriptionBody
200OKGeoPolicyResponse
401Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim.Problem (problem+json)
403Forbidden — 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/jsonPutGeoPolicyRequest

Responses:

StatusDescriptionBody
200OKGeoPolicyResponse
401Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim.Problem (problem+json)
403Forbidden — 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:

StatusDescriptionBody
204Reset to no geo constraint; no content.
401Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim.Problem (problem+json)
403Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path.Problem (problem+json)