CustomSubAccounts
Create a sub-account.
Create a sub-account.<br>You must have at least one of these scopes: 'subledger.manage, setup.manage'.
post/settings/v1/sub-accounts
Request
- Base URLhttps://api.apaleo.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.apaleo.com/settings/v1/sub-accounts
- AuthOAuth 2Implicit: https://identity.apaleo.com/connect/authorizeScopes: subledger.manage, setup.manage, admin
Headers
Idempotency-Keystring
Unique key for safely retrying requests without accidentally performing the same operation twice. We'll always send back the same response for requests made with the same key, and keys can't be reused with different request parameters. Keys expire after 24 hours.
Request body
Example request
{
"propertyId": "MUC",
"code": "TEA",
"name": "Finest green tea",
"type": "FoodAndBeverages"
}Response
Creation of the new sub-account was successful.
Example response
{
"id": "MUC-Tea"
}Changes
No recorded changes to this operation across all 1 revision of this API.