Create Account with Role

post

{baseUrl}/v1/{accountContractAddress}/createAccountWithRole

Creates an account and assigns a role in one operation.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
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
Back to Top

Response

Supported Media Types

200 Response

All combined rpc-proxy steps completed successfully.
Body ()
Root Schema : CombinedApi_SuccessResponse
Type: object
Show Source
Nested Schema : steps
Type: array
Show Source
Nested Schema : CombinedApi_StepResult
Type: object
Show Source

400 Response

Request validation failed, or a combined step rejected the request.
Body ()
Root Schema : CombinedApi_FailureResponse
Type: object
Show Source
Nested Schema : steps
Type: array
Show Source
Nested Schema : CombinedApi_StepResult
Type: object
Show Source

502 Response

A combined rpc-proxy step could not be invoked or reported a failed receipt.
Body ()
Root Schema : CombinedApi_FailureResponse
Type: object
Show Source
Nested Schema : steps
Type: array
Show Source
Nested Schema : CombinedApi_StepResult
Type: object
Show Source
Back to Top