Create Account with Role
post
{baseUrl}/v1/{accountContractAddress}/createAccountWithRole
Creates an account and assigns a role in one operation.
Request
Path Parameters
-
accountContractAddress(required): string
Path parameter derived from Postman variable accountContractAddress
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
account: string
Example:
account value -
applicationGroups: string
Example:
applicationGroups value -
maxDailyAmount: string
Example:
maxDailyAmount value -
maxDailyTransactions: string
Example:
maxDailyTransactions value -
orgId: string
Example:
orgId value -
role: string
Example:
role value -
userAddress: string
Example:
userAddress value -
userId: string
Example:
userId value -
walletId: string
Example:
{{walletId}}
Example:
{
"walletId":"{{walletId}}",
"account":"account value",
"applicationGroups":"applicationGroups value",
"maxDailyAmount":"maxDailyAmount value",
"maxDailyTransactions":"maxDailyTransactions value",
"orgId":"orgId value",
"role":"role value",
"userAddress":"userAddress value",
"userId":"userId value"
}Security
-
OAuth2Password: oauth2
Type:
oauth2
Response
Supported Media Types
- application/json
200 Response
All combined rpc-proxy steps completed successfully.
Nested Schema : CombinedApi_StepResult
Type:
Show Source
object-
body(required):
Parsed rpc-proxy response body, or unparsed response text.
-
statusCode(required): integer
-
step(required): string
-
stepIndex(required): integer
400 Response
Request validation failed, or a combined step rejected the request.
Root Schema : CombinedApi_FailureResponse
Type:
Show Source
object-
error(required): string
-
failedStep(required): string
-
failedStepBody:
Parsed response body from the failed step when available.
-
failedStepIndex(required): integer
-
status(required): string
-
steps(required): array
steps
Nested Schema : CombinedApi_StepResult
Type:
Show Source
object-
body(required):
Parsed rpc-proxy response body, or unparsed response text.
-
statusCode(required): integer
-
step(required): string
-
stepIndex(required): integer
502 Response
A combined rpc-proxy step could not be invoked or reported a failed receipt.
Root Schema : CombinedApi_FailureResponse
Type:
Show Source
object-
error(required): string
-
failedStep(required): string
-
failedStepBody:
Parsed response body from the failed step when available.
-
failedStepIndex(required): integer
-
status(required): string
-
steps(required): array
steps
Nested Schema : CombinedApi_StepResult
Type:
Show Source
object-
body(required):
Parsed rpc-proxy response body, or unparsed response text.
-
statusCode(required): integer
-
step(required): string
-
stepIndex(required): integer