openapi: 3.1.0 info: title: Golioth Management Access Billing API version: '1.0' description: 'Golioth IoT Device Management REST API. Authenticate with project-scoped API keys passed in the x-api-key header. Upstream OpenAPI: https://api.golioth.io/openapi.json' servers: - url: https://api.golioth.io security: - API Key: [] Bearer: [] tags: - name: Billing paths: /v1/organizations/{organizationId}/customer_portal_sessions: post: operationId: Billing_CreateCustomerPortalSession parameters: - in: path name: organizationId required: true schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/BillingCreateCustomerPortalSessionBody' required: true x-originalParamName: body responses: '200': content: application/json: schema: $ref: '#/components/schemas/goliothCreateCustomerPortalResponse' description: A successful response. default: content: application/json: schema: $ref: '#/components/schemas/rpcStatus' description: An unexpected error response. tags: - Billing components: schemas: protobufAny: additionalProperties: {} properties: '@type': type: string type: object BillingCreateCustomerPortalSessionBody: properties: callbackPath: type: string type: object rpcStatus: properties: code: format: int32 type: integer details: items: $ref: '#/components/schemas/protobufAny' type: array message: type: string type: object goliothCreateCustomerPortalResponse: properties: url: type: string type: object securitySchemes: API Key: in: header name: x-api-key type: apiKey Bearer: in: header name: Authorization type: apiKey externalDocs: description: golioth API url: https://docs.golioth.io