Add user to enterprise

post/api/v1/enterprise/{enterpriseId}/user

Path Parameters

  • enterpriseIdstringRequired
    Example: "59cd72485007a239fb00282ed480da1f"
    Pattern: ^[0-9a-f]{32}$

Request Body

permission string
Allowed value: admin
username string <email>
The Username of the User that should be added to the Enterprise
usernames array[string]

200 Response

202 Response

One of
id string
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$
bitcoinAddress string
Example: 1G47mSr3oANXMafVrR8UC4pzV7FEAzo3r9
enterprise string
The Id of the associated enterprise
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$
walletId string
The base address of the associated wallet
Example: 1G47mSr3oANXMafVrR8UC4pzV7FEAzo3r9
creator string
The Id of the User that created the Pending Approval
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$
createDate string <date-time>
info object
type string
Allowed values: bitcoinAddressWhitelistRequest userChangeRequest policyRuleRequest dailyLimitPolicyRequest transactionRequest tagUpdateRequest updateEnterpriseRequest
updateEnterpriseRequest object
updateApprovalsRequiredRequest object
state string
Allowed values: pending approved rejected
walletUserIds array[string]
an array of all the Users on the Wallet who need to see this Pending Approval
approvalsRequired number
Minimum: >= 1

400 Response

One of
error string required
Human-readable error message
requestId string required
Client request id
context object
Properties that apply to a specific error name
name string required
Error code

404 Response

error string required
Human-readable error message
requestId string required
Client request id
context object
Properties that apply to a specific error name
name string required
Error code