Skip to content

Commit f9d32c1

Browse files
Merge pull request #232 from BitGo/update-bitgo-api-docs
Update API reference on BitGo Developer Portal
2 parents e537c8a + 93a6a70 commit f9d32c1

File tree

1 file changed

+0
-84
lines changed

1 file changed

+0
-84
lines changed

api.yaml

Lines changed: 0 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -28285,80 +28285,6 @@ paths:
2828528285
application/json:
2828628286
schema:
2828728287
$ref: '#/components/schemas/PlatformError'
28288-
/api/v2/organization/{organizationId}/enterprise/{enterpriseId}/user:
28289-
post:
28290-
summary: Add a user to an enterprise within an organization
28291-
description: Add an existing user to an enterprise under the specified organization.
28292-
operationId: v2.organization.enterprise.user.add
28293-
tags:
28294-
- Enterprise Management
28295-
parameters:
28296-
- name: organizationId
28297-
in: path
28298-
required: true
28299-
schema:
28300-
$ref: '#/components/schemas/OrganizationIdString'
28301-
- name: enterpriseId
28302-
in: path
28303-
required: true
28304-
schema:
28305-
$ref: '#/components/schemas/EnterpriseIdString'
28306-
requestBody:
28307-
content:
28308-
application/json:
28309-
schema:
28310-
type: object
28311-
properties:
28312-
email:
28313-
type: string
28314-
minLength: 1
28315-
permissions:
28316-
type: array
28317-
items:
28318-
type: string
28319-
enum:
28320-
- admin
28321-
- auditor
28322-
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'
28323-
required:
28324-
- email
28325-
responses:
28326-
'200':
28327-
description: OK
28328-
content:
28329-
application/json:
28330-
schema:
28331-
$ref: '#/components/schemas/AddUserToOrganizationEnterpriseResponseC'
28332-
'400':
28333-
description: Bad Request
28334-
content:
28335-
application/json:
28336-
schema:
28337-
$ref: '#/components/schemas/PlatformError'
28338-
'403':
28339-
description: Forbidden
28340-
content:
28341-
application/json:
28342-
schema:
28343-
$ref: '#/components/schemas/PlatformError'
28344-
'404':
28345-
description: Not Found
28346-
content:
28347-
application/json:
28348-
schema:
28349-
$ref: '#/components/schemas/PlatformError'
28350-
'409':
28351-
description: Conflict
28352-
content:
28353-
application/json:
28354-
schema:
28355-
$ref: '#/components/schemas/PlatformError'
28356-
'500':
28357-
description: Internal Server Error
28358-
content:
28359-
application/json:
28360-
schema:
28361-
$ref: '#/components/schemas/PlatformError'
2836228288
/api/v2/organization/{organizationId}/reports:
2836328289
get:
2836428290
summary: List org-level reports
@@ -37054,15 +36980,6 @@ components:
3705436980
- addressCount
3705536981
- pendingChainInitialization
3705636982
- rewardAddress
37057-
AddUserToOrganizationEnterpriseResponseC:
37058-
title: AddUserToOrganizationEnterpriseResponseC
37059-
type: object
37060-
properties:
37061-
userId:
37062-
type: string
37063-
minLength: 1
37064-
required:
37065-
- userId
3706636983
AdditionalEnterpriseInfo:
3706736984
title: AdditionalEnterpriseInfo
3706836985
type: object
@@ -43769,7 +43686,6 @@ components:
4376943686
- COMPLETE
4377043687
- CANCELLED
4377143688
- FAILED
43772-
- AUTO_CANCELLED
4377343689
ExchangeEddsaCommitmentsResponse:
4377443690
title: ExchangeEddsaCommitmentsResponse
4377543691
type: object

0 commit comments

Comments
 (0)