openapi: 3.2.0 info: title: Airia Web Tenant Permissions API version: 1.0.0 servers: - url: https://api.airia.ai tags: - name: TenantPermissions paths: /v1/TenantPermissions: get: tags: - TenantPermissions operationId: TenantPermissions_GetPermissions parameters: - name: x-correlation-id in: header schema: type: string responses: 200: description: '' content: application/json: schema: type: array items: $ref: '#/components/schemas/TenantPermissionsDto' 401: description: '' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' 403: description: '' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' summary: Tenant permissions get permissions x-summary-source: derived /v1/TenantPermissions/{type}: get: tags: - TenantPermissions operationId: TenantPermissions_GetPermission parameters: - name: type in: path required: true schema: type: string x-position: 1 - name: x-correlation-id in: header schema: type: string responses: 200: description: '' content: application/json: schema: $ref: '#/components/schemas/TenantPermissionsDto' 404: description: '' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' 401: description: '' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' 403: description: '' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' summary: Tenant permissions get permission x-summary-source: derived put: tags: - TenantPermissions operationId: TenantPermissions_UpdatePermission parameters: - name: type in: path required: true schema: type: string x-position: 1 - name: x-correlation-id in: header schema: type: string requestBody: x-name: permissionDto content: application/json: schema: $ref: '#/components/schemas/TenantPermissionsDto' required: true x-position: 2 responses: 200: description: '' content: application/json: schema: $ref: '#/components/schemas/TenantPermissionsDto' 404: description: '' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' 401: description: '' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' 403: description: '' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' summary: Tenant permissions update permission x-summary-source: derived components: schemas: ProblemDetails: type: object additionalProperties: {} properties: type: type: - string - 'null' title: type: - string - 'null' status: type: - integer - 'null' format: int32 detail: type: - string - 'null' instance: type: - string - 'null' TenantPermissionsDto: type: object additionalProperties: false properties: type: type: string enabled: type: boolean userIds: type: - array - 'null' items: type: string format: guid groupIds: type: - array - 'null' items: type: string format: guid securitySchemes: ApiKey: type: apiKey description: API Key Authentication name: X-API-Key in: header Cookies: type: apiKey description: Cookie based Authentication name: Cookie in: header x-generator: NSwag v14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))