cURL
curl --request GET \ --url https://api.cnaught.com/v1/subaccounts/{id} \ --header 'Authorization: Bearer <token>'
{ "id": "5nubL0NS", "name": "Marketing Department", "email": "jane.doe@example.com", "default_portfolio_id": "mHvNvWbq", "logo_url": "https://customer-assets.cnaught.com/fe0df075-30e2-4e58-9feb-154e72a9205f/subaccount_logo.png" }
Returns information about a subaccount
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of subaccount to return / modify
"5nubL0NS"
Subaccount Details
The response is of type object.
object