API Metering bucket management
Creates a bucket
POST
https://dev.zuplo.com
/v1/metering
Creates a new bucket for this account.
Responses
createdOn
string · date-time · readOnly · requiredWhen the item was created.
Example: 2023-04-18T05:54:34.408ZupdatedOn
string · date-time · readOnly · requiredWhen the item was last updated.
Example: 2023-04-20T05:54:34.408Zid
string · readOnly · requiredExample: mtr_STYBm01FabkgZOP3KtkYdJuOaccountName
string · readOnly · requiredExample: my-account
Gets a bucket
GET
https://dev.zuplo.com
/v1/metering/{bucketId}
Returns the details for a bucket.
path Parameters
bucketId
string · requiredThe id of the bucket. Zuplo automatically creates buckets for your project. You can find it in your Zuplo Portal under the Settings tab for your project.
Responses
createdOn
string · date-time · readOnly · requiredWhen the item was created.
Example: 2023-04-18T05:54:34.408ZupdatedOn
string · date-time · readOnly · requiredWhen the item was last updated.
Example: 2023-04-20T05:54:34.408Zid
string · readOnly · requiredExample: mtr_STYBm01FabkgZOP3KtkYdJuOaccountName
string · readOnly · requiredExample: my-account
Deletes a bucket
DELETE
https://dev.zuplo.com
/v1/metering/{bucketId}