Skip to content

Product documentation

OrganizationDomains

The OrganizationDomains resource.

OrganizationDomains

The OrganizationDomains resource.

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

Operations

MethodPathSummaryScopes
GET/api/v1/organizations/{orgId}/domainsOrganization Domains Listtenant:orgs.read
POST/api/v1/organizations/{orgId}/domainsOrganization Domains Addtenant:orgs.write
DELETE/api/v1/organizations/{orgId}/domains/{domId}Organization Domains Deletetenant:orgs.write
POST/api/v1/organizations/{orgId}/domains/{domId}/verifyOrganization Domains Verifytenant:orgs.write

Operation details

GET /api/v1/organizations/{orgId}/domains

Organization Domains List

  • Operation ID: organizationDomainsList
  • Required scopes: tenant:orgs.read

Parameters:

NameInRequiredTypeDescription
orgIdpathyesstring

Responses:

StatusDescriptionBody
200OKobject
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)

POST /api/v1/organizations/{orgId}/domains

Organization Domains Add

  • Operation ID: organizationDomainsAdd
  • Required scopes: tenant:orgs.write

Parameters:

NameInRequiredTypeDescription
orgIdpathyesstring

Request body: application/jsonAddDomainRequest

Responses:

StatusDescriptionBody
200OKobject
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/organizations/{orgId}/domains/{domId}

Organization Domains Delete

  • Operation ID: organizationDomainsDelete
  • Required scopes: tenant:orgs.write

Parameters:

NameInRequiredTypeDescription
orgIdpathyesstring
domIdpathyesstring

Responses:

StatusDescriptionBody
200OKobject
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)

POST /api/v1/organizations/{orgId}/domains/{domId}/verify

Organization Domains Verify

  • Operation ID: organizationDomainsVerify
  • Required scopes: tenant:orgs.write

Parameters:

NameInRequiredTypeDescription
orgIdpathyesstring
domIdpathyesstring

Responses:

StatusDescriptionBody
200OKobject
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)