Provision a Sub Account
A 3-step recipe with Logz.io. We can help you get access.
Recipe · 3 steps
Provision a Sub Account
with Logz.io
Create a time-based sub account, confirm it, and update its retention.
- Create a new time-based log sub account using the main account token. The sharingObjectsAccounts array is required and is sent empty.
- Retrieve the created sub account settings by id to confirm the account exists and capture its retention.
- Update the sub account to apply the requested retention and daily volume now that it has been confirmed.
What you'll need to have ready
- apiToken: Logz.io main-account API token sent in the X-API-TOKEN header.
- accountName: Name of the new sub account.
- email: Administrator email address for the sub account.
- retentionDays: Number of days log data is retained and searchable.
- maxDailyGB: Maximum volume of data indexed per calendar day, in GB.
For your developer
Arazzo workflow logz-io:provision-subaccount, 3 operations: createTimeBasedAccount → get → updateTimeBasedAccount. Specs on APIs.io.