POST /v1/usage-thresholds/{thresholdId}/archive
POST
/v1/usage-thresholds/{thresholdId}/archiveAuthorization
x-api-keyAPI key · headerrequiredor
AuthorizationBearer token · headerrequiredPath parameters
thresholdIdstringrequiredmin length 1
Query parameters
environmentstringAllowed:
sandboxproductionmerchantAccountIdstringmin length 1
Header parameters
Idempotency-KeystringRequired for production-safe retries on mutating routes. Reusing a key with a different request body returns 409.
min length 1
Request body
requiredapplication/jsonenvironmentstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullmerchantAccountIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullthresholdIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullResponses
200
Success
dataobjectrequiredShow propertiesHide properties
thresholdIdstringrequiredmin length 1
meterIdstringrequiredmin length 1
thresholdValuenumberrequiredcreatedAtstringrequiredmin length 1
customerIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullarchivedAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullrequestIdstringrequiredmin length 1