DELETE
/api/admin/client-errorsAdminDelete client errors before a cutoff
Bulk-deletes the client errors received before the before cutoff. resource_id carries the number of deleted rows. A cutoff of 0 is valid and deletes nothing.
operationId
delete_api_admin_client_errorsAdministrationAuthentication & permissionsAdmin
Platform administrators only
- Accepted credentials
- Auth server session (refresh token cookie)
cookie "refresh_token_<auth_server_app_id>" - Access token (cookie)
cookie "access_token_<auth_server_app_id>" - Access token (Bearer)
Authorization: Bearer <JWT>
- Auth server session (refresh token cookie)
- Who may call
- Platform administrators only
Query parameters
| Name | Type | Description |
|---|---|---|
| before* | string | Cutoff: client errors received before this instant are deleted. An ISO-8601 datetime or a non-negative integer Unix epoch in milliseconds. |
Responses
application/json
ResourceCreationResponse
| Property | Type | Description |
|---|---|---|
| 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/client-errors?before=<before>' \
-b 'refresh_token_<auth_server_app_id>=<value>'