Skip to content

Commit 2c16520

Browse files
feat: update bitgo-api-docs\nThis commit updates the BitGo API.
1 parent c052b94 commit 2c16520

File tree

1 file changed

+87
-0
lines changed

1 file changed

+87
-0
lines changed

api.yaml

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26962,6 +26962,8 @@ paths:
2696226962
- maxPriorityFeePerGas
2696326963
txType:
2696426964
type: string
26965+
description: Use `txType` to change fee of address initialization transaction for V5 wallets
26966+
example: AddressInitialization
2696526967
required:
2696626968
- txid
2696726969
responses:
@@ -28302,6 +28304,80 @@ paths:
2830228304
application/json:
2830328305
schema:
2830428306
$ref: '#/components/schemas/PlatformError'
28307+
/api/v2/organization/{organizationId}/enterprise/{enterpriseId}/user:
28308+
post:
28309+
summary: Add a user to an enterprise within an organization
28310+
description: Add an existing user to an enterprise under the specified organization.
28311+
operationId: v2.organization.enterprise.user.add
28312+
tags:
28313+
- Enterprise Management
28314+
parameters:
28315+
- name: organizationId
28316+
in: path
28317+
required: true
28318+
schema:
28319+
$ref: '#/components/schemas/OrganizationIdString'
28320+
- name: enterpriseId
28321+
in: path
28322+
required: true
28323+
schema:
28324+
$ref: '#/components/schemas/EnterpriseIdString'
28325+
requestBody:
28326+
content:
28327+
application/json:
28328+
schema:
28329+
type: object
28330+
properties:
28331+
email:
28332+
type: string
28333+
minLength: 1
28334+
permissions:
28335+
type: array
28336+
items:
28337+
type: string
28338+
enum:
28339+
- admin
28340+
- auditor
28341+
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'
28342+
required:
28343+
- email
28344+
responses:
28345+
'200':
28346+
description: OK
28347+
content:
28348+
application/json:
28349+
schema:
28350+
$ref: '#/components/schemas/AddUserToOrganizationEnterpriseResponseC'
28351+
'400':
28352+
description: Bad Request
28353+
content:
28354+
application/json:
28355+
schema:
28356+
$ref: '#/components/schemas/PlatformError'
28357+
'403':
28358+
description: Forbidden
28359+
content:
28360+
application/json:
28361+
schema:
28362+
$ref: '#/components/schemas/PlatformError'
28363+
'404':
28364+
description: Not Found
28365+
content:
28366+
application/json:
28367+
schema:
28368+
$ref: '#/components/schemas/PlatformError'
28369+
'409':
28370+
description: Conflict
28371+
content:
28372+
application/json:
28373+
schema:
28374+
$ref: '#/components/schemas/PlatformError'
28375+
'500':
28376+
description: Internal Server Error
28377+
content:
28378+
application/json:
28379+
schema:
28380+
$ref: '#/components/schemas/PlatformError'
2830528381
/api/v2/organization/{organizationId}/reports:
2830628382
get:
2830728383
summary: List org-level reports
@@ -36997,6 +37073,15 @@ components:
3699737073
- addressCount
3699837074
- pendingChainInitialization
3699937075
- rewardAddress
37076+
AddUserToOrganizationEnterpriseResponseC:
37077+
title: AddUserToOrganizationEnterpriseResponseC
37078+
type: object
37079+
properties:
37080+
userId:
37081+
type: string
37082+
minLength: 1
37083+
required:
37084+
- userId
3700037085
AdditionalEnterpriseInfo:
3700137086
title: AdditionalEnterpriseInfo
3700237087
type: object
@@ -42564,6 +42649,7 @@ components:
4256442649
- Hot Self-Custody
4256542650
- Escrow
4256642651
- Distributed Custody
42652+
- Advanced Wallets
4256742653
description: Requested BitGo Products
4256842654
required:
4256942655
- id
@@ -43703,6 +43789,7 @@ components:
4370343789
- COMPLETE
4370443790
- CANCELLED
4370543791
- FAILED
43792+
- AUTO_CANCELLED
4370643793
ExchangeEddsaCommitmentsResponse:
4370743794
title: ExchangeEddsaCommitmentsResponse
4370843795
type: object

0 commit comments

Comments
 (0)