@@ -373,6 +373,14 @@ components:
373373 required: true
374374 schema:
375375 type: string
376+ OrgConfigName:
377+ description: The name of an Org Config.
378+ in: path
379+ name: org_config_name
380+ required: true
381+ schema:
382+ example: monitor_timezone
383+ type: string
376384 PageNumber:
377385 description: Specific page number to return.
378386 in: query
@@ -13822,6 +13830,104 @@ components:
1382213830 required:
1382313831 - data
1382413832 type: object
13833+ OrgConfigGetResponse:
13834+ description: A response with a single Org Config.
13835+ properties:
13836+ data:
13837+ $ref: '#/components/schemas/OrgConfigRead'
13838+ required:
13839+ - data
13840+ type: object
13841+ OrgConfigListResponse:
13842+ description: A response with multiple Org Configs.
13843+ properties:
13844+ data:
13845+ description: An array of Org Configs.
13846+ items:
13847+ $ref: '#/components/schemas/OrgConfigRead'
13848+ type: array
13849+ required:
13850+ - data
13851+ type: object
13852+ OrgConfigRead:
13853+ description: A single Org Config.
13854+ properties:
13855+ attributes:
13856+ $ref: '#/components/schemas/OrgConfigReadAttributes'
13857+ id:
13858+ description: A unique identifier for an Org Config.
13859+ example: abcd1234
13860+ type: string
13861+ type:
13862+ $ref: '#/components/schemas/OrgConfigType'
13863+ required:
13864+ - id
13865+ - type
13866+ - attributes
13867+ type: object
13868+ OrgConfigReadAttributes:
13869+ description: Readable attributes of an Org Config.
13870+ properties:
13871+ description:
13872+ description: The description of an Org Config.
13873+ example: Frobulate the turbo encabulator manifold
13874+ type: string
13875+ modified_at:
13876+ description: The timestamp of the last Org Config update (if any).
13877+ format: date-time
13878+ nullable: true
13879+ type: string
13880+ name:
13881+ description: The machine-friendly name of an Org Config.
13882+ example: monitor_timezone
13883+ type: string
13884+ value:
13885+ description: The value of an Org Config.
13886+ value_type:
13887+ description: The type of an Org Config value.
13888+ example: bool
13889+ type: string
13890+ required:
13891+ - name
13892+ - description
13893+ - value_type
13894+ - value
13895+ type: object
13896+ OrgConfigType:
13897+ description: Data type of an Org Config.
13898+ enum:
13899+ - org_configs
13900+ example: org_configs
13901+ type: string
13902+ x-enum-varnames:
13903+ - ORG_CONFIGS
13904+ OrgConfigWrite:
13905+ description: An Org Config write operation.
13906+ properties:
13907+ attributes:
13908+ $ref: '#/components/schemas/OrgConfigWriteAttributes'
13909+ type:
13910+ $ref: '#/components/schemas/OrgConfigType'
13911+ required:
13912+ - type
13913+ - attributes
13914+ type: object
13915+ OrgConfigWriteAttributes:
13916+ description: Writable attributes of an Org Config.
13917+ properties:
13918+ value:
13919+ description: The value of an Org Config.
13920+ required:
13921+ - value
13922+ type: object
13923+ OrgConfigWriteRequest:
13924+ description: A request to update an Org Config.
13925+ properties:
13926+ data:
13927+ $ref: '#/components/schemas/OrgConfigWrite'
13928+ required:
13929+ - data
13930+ type: object
1382513931 Organization:
1382613932 description: Organization object.
1382713933 properties:
@@ -30455,6 +30561,96 @@ paths:
3045530561 limitParam: page[limit]
3045630562 pageOffsetParam: page[offset]
3045730563 resultsPath: data
30564+ /api/v2/org_configs:
30565+ get:
30566+ description: Returns all Org Configs (name, description, and value).
30567+ operationId: ListOrgConfigs
30568+ responses:
30569+ '200':
30570+ content:
30571+ application/json:
30572+ schema:
30573+ $ref: '#/components/schemas/OrgConfigListResponse'
30574+ description: OK
30575+ '400':
30576+ $ref: '#/components/responses/BadRequestResponse'
30577+ '401':
30578+ $ref: '#/components/responses/UnauthorizedResponse'
30579+ '403':
30580+ $ref: '#/components/responses/ForbiddenResponse'
30581+ '429':
30582+ $ref: '#/components/responses/TooManyRequestsResponse'
30583+ security:
30584+ - apiKeyAuth: []
30585+ appKeyAuth: []
30586+ summary: List Org Configs
30587+ tags:
30588+ - Organizations
30589+ /api/v2/org_configs/{org_config_name}:
30590+ get:
30591+ description: Return the name, description, and value of a specific Org Config.
30592+ operationId: GetOrgConfig
30593+ parameters:
30594+ - $ref: '#/components/parameters/OrgConfigName'
30595+ responses:
30596+ '200':
30597+ content:
30598+ application/json:
30599+ schema:
30600+ $ref: '#/components/schemas/OrgConfigGetResponse'
30601+ description: OK
30602+ '400':
30603+ $ref: '#/components/responses/BadRequestResponse'
30604+ '401':
30605+ $ref: '#/components/responses/UnauthorizedResponse'
30606+ '403':
30607+ $ref: '#/components/responses/ForbiddenResponse'
30608+ '404':
30609+ $ref: '#/components/responses/NotFoundResponse'
30610+ '429':
30611+ $ref: '#/components/responses/TooManyRequestsResponse'
30612+ security:
30613+ - apiKeyAuth: []
30614+ appKeyAuth: []
30615+ summary: Get a specific Org Config value
30616+ tags:
30617+ - Organizations
30618+ patch:
30619+ description: Update the value of a specific Org Config.
30620+ operationId: UpdateOrgConfig
30621+ parameters:
30622+ - $ref: '#/components/parameters/OrgConfigName'
30623+ requestBody:
30624+ content:
30625+ application/json:
30626+ schema:
30627+ $ref: '#/components/schemas/OrgConfigWriteRequest'
30628+ required: true
30629+ responses:
30630+ '200':
30631+ content:
30632+ application/json:
30633+ schema:
30634+ $ref: '#/components/schemas/OrgConfigGetResponse'
30635+ description: OK
30636+ '400':
30637+ $ref: '#/components/responses/BadRequestResponse'
30638+ '401':
30639+ $ref: '#/components/responses/UnauthorizedResponse'
30640+ '403':
30641+ $ref: '#/components/responses/ForbiddenResponse'
30642+ '404':
30643+ $ref: '#/components/responses/NotFoundResponse'
30644+ '429':
30645+ $ref: '#/components/responses/TooManyRequestsResponse'
30646+ security:
30647+ - apiKeyAuth: []
30648+ appKeyAuth: []
30649+ - AuthZ:
30650+ - org_management
30651+ summary: Update a specific Org Config
30652+ tags:
30653+ - Organizations
3045830654 /api/v2/permissions:
3045930655 get:
3046030656 description: Returns a list of all permissions, including name, description,
0 commit comments