diff --git a/api.yaml b/api.yaml index 94fef2c..955a662 100644 --- a/api.yaml +++ b/api.yaml @@ -26962,6 +26962,8 @@ paths: - maxPriorityFeePerGas txType: type: string + description: Use `txType` to change fee of address initialization transaction for V5 wallets + example: AddressInitialization required: - txid responses: @@ -28302,6 +28304,80 @@ paths: application/json: schema: $ref: '#/components/schemas/PlatformError' + /api/v2/organization/{organizationId}/enterprise/{enterpriseId}/user: + post: + summary: Add a user to an enterprise within an organization + description: Add an existing user to an enterprise under the specified organization. + operationId: v2.organization.enterprise.user.add + tags: + - Enterprise Management + parameters: + - name: organizationId + in: path + required: true + schema: + $ref: '#/components/schemas/OrganizationIdString' + - name: enterpriseId + in: path + required: true + schema: + $ref: '#/components/schemas/EnterpriseIdString' + requestBody: + content: + application/json: + schema: + type: object + properties: + email: + type: string + minLength: 1 + permissions: + type: array + items: + type: string + enum: + - admin + - auditor + description: 'This type represents the permissions that can be assigned to a user when adding them to an enterprise 1. ''admin'': Add/remove users, Create wallets, Manage enterprise policies, Add Bank Accounts, Receive invitations to wallets 2. ''auditor'': View audit logs across the enterprise, Receive invitations to wallets' + required: + - email + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/AddUserToOrganizationEnterpriseResponseC' + '400': + description: Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/PlatformError' + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/PlatformError' + '404': + description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/PlatformError' + '409': + description: Conflict + content: + application/json: + schema: + $ref: '#/components/schemas/PlatformError' + '500': + description: Internal Server Error + content: + application/json: + schema: + $ref: '#/components/schemas/PlatformError' /api/v2/organization/{organizationId}/reports: get: summary: List org-level reports @@ -36997,6 +37073,15 @@ components: - addressCount - pendingChainInitialization - rewardAddress + AddUserToOrganizationEnterpriseResponseC: + title: AddUserToOrganizationEnterpriseResponseC + type: object + properties: + userId: + type: string + minLength: 1 + required: + - userId AdditionalEnterpriseInfo: title: AdditionalEnterpriseInfo type: object @@ -42564,6 +42649,7 @@ components: - Hot Self-Custody - Escrow - Distributed Custody + - Advanced Wallets description: Requested BitGo Products required: - id @@ -43703,6 +43789,7 @@ components: - COMPLETE - CANCELLED - FAILED + - AUTO_CANCELLED ExchangeEddsaCommitmentsResponse: title: ExchangeEddsaCommitmentsResponse type: object