@@ -30516,6 +30516,81 @@ paths:
3051630516 application/json:
3051730517 schema:
3051830518 $ref: '#/components/schemas/PlatformError'
30519+ /api/v2/organization/{organizationId}/enterprise/search:
30520+ get:
30521+ summary: List enterprises for an organization
30522+ description: List all enterprises in the specified organization for the authenticated user.
30523+ operationId: v2.organization.enterprise.search
30524+ tags:
30525+ - Enterprise Management
30526+ parameters:
30527+ - name: limit
30528+ description: Maximum number of results to return. If the result set is truncated, use the "nextBatchPrevId" value to get the next batch.
30529+ in: query
30530+ schema:
30531+ type: string
30532+ default: '25'
30533+ minimum: 1
30534+ maximum: 500
30535+ format: number
30536+ - name: prevId
30537+ description: Return the next batch of results, based on the "nextBatchPrevId" value from the previous batch.
30538+ in: query
30539+ schema:
30540+ type: string
30541+ example: 59cd72485007a239fb00282ed480da1f
30542+ minLength: 1
30543+ pattern: ^[0-9a-f]{32}$
30544+ - name: q
30545+ description: Filter by enterprise name or by enterprise id. Cannot be combined with `prevId`.
30546+ in: query
30547+ schema:
30548+ type: string
30549+ 30550+ minLength: 1
30551+ pattern: ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$
30552+ - name: organizationId
30553+ in: path
30554+ required: true
30555+ schema:
30556+ $ref: '#/components/schemas/OrganizationIdString'
30557+ responses:
30558+ '200':
30559+ description: OK
30560+ content:
30561+ application/json:
30562+ schema:
30563+ $ref: '#/components/schemas/EnterprisesPaginatedResponse'
30564+ '400':
30565+ description: Bad Request
30566+ content:
30567+ application/json:
30568+ schema:
30569+ $ref: '#/components/schemas/PlatformError'
30570+ '403':
30571+ description: Forbidden
30572+ content:
30573+ application/json:
30574+ schema:
30575+ $ref: '#/components/schemas/PlatformError'
30576+ '404':
30577+ description: Not Found
30578+ content:
30579+ application/json:
30580+ schema:
30581+ $ref: '#/components/schemas/PlatformError'
30582+ '409':
30583+ description: Conflict
30584+ content:
30585+ application/json:
30586+ schema:
30587+ $ref: '#/components/schemas/PlatformError'
30588+ '500':
30589+ description: Internal Server Error
30590+ content:
30591+ application/json:
30592+ schema:
30593+ $ref: '#/components/schemas/PlatformError'
3051930594 /api/v2/organization/{organizationId}/reports:
3052030595 get:
3052130596 summary: List org-level reports
0 commit comments