DELETE/api/admin/errorsAdmin

Delete captured errors before a cutoff

Bulk-deletes rows of the captured server errors table older than the before cutoff. resource_id carries the number of deleted rows. A cutoff of 0 is valid and deletes nothing.

operationId delete_api_admin_errorsAdministration

Authentication & permissionsAdmin

Platform administrators only

Accepted credentials
Who may call
Platform administrators only

Query parameters

NameTypeDescription
before*string

Cutoff: errors captured before this instant are deleted. An ISO-8601 datetime or a non-negative integer Unix epoch in milliseconds.

Responses

application/json
ResourceCreationResponse
PropertyTypeDescription
success*true
message*string
resource_id*string

Identifier of the created / affected resource

JSONExample
"success"true
"message""string"
"resource_id""string"

Example request

bashcurl
curl -X DELETE 'https://auth.schemavaults.com/api/admin/errors?before=<before>' \
  -b 'refresh_token_<auth_server_app_id>=<value>'