Skip to main content
GET
/
organizations
/
{organizationId}
/
organizationSettings
Get organization settings
curl --request GET \
  --url https://app.dynamicauth.com/api/v0/organizations/{organizationId}/organizationSettings \
  --header 'Authorization: Bearer <token>'
{
  "organizationSettings": {
    "approvalEnabled": true,
    "approvalTtlHours": 123,
    "approvalRequiredApprovals": 123,
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "updatedById": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organizationId
string
required

ID of organization

Required string length: 36
Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Example:

"95b11417-f18f-457f-8804-68e361f9164f"

Response

Organization settings

Wrapper response for a single organization settings object.

organizationSettings
object
required

Organization-level settings with typed columns. One row per organization, lazily created on first write.