Update Subaccount
Updates a Subaccount with given id. This does not include updating the logo: there are separate endpoints for doing so. Aside from the logo, all properties should be included in the request body. Not including the default portfolio id in the update request will have the effect of making the subaccount not have an explicit default portfolio (making it inherit the default portfolio from the parent user).
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
ID of subaccount to return / modify
Body
Name for the subaccount
512
Optional email associated with the subaccount. If not specified, will remove the email from the subaccount.
Optional ID of the default portfolio to use for fulfilling orders placed for this subaccount. If not specified, the parent account's default portfolio will be the default portfolio for the subaccount.
Response
Identifier that can be used to retrieve the subaccount details
Timestamp of when the subaccount was created (in UTC)
Name of the subaccount
512
Optional email associated with the subaccount.
Optional ID of the default portfolio used to fulfilling orders placed for this subaccount. If not specified, the parent account's default portfolio is the default portfolio for the subaccount.
Optional URL for the logo used for this subaccount, if any. This URL is for the logo as stored on CNaught's hosting.