Delete Mismatch Alert

Deletes a trailer mismatch observation alerts for the authenticated customer.

Authentication

  • Include your Access-Token and x-api-key in the header of your requests.

Permissions

The external-api-mismatch-observations or admin permission is required to access this endpoint.

Endpoint

  • URL: https://api.genlogs.io/mismatch-observations/{mismatch-alert-id}

  • Method: DELETE

Headers

  • Access-Token: (string, required): Access token obtained from the "Create Access Token" endpoint.

  • x-api-key (string, required): The API key provided by GenLogs.

Request Example:

curl --location 'https://api.genlogs.io/mismatch-observations/{observation-id}' \
--header 'access-token: <your-api-token>' \
--header 'x-api-key: <your-x-api-key>'

Response:

  • 204 No Content: The confirmation of the mismatch alert has ben successfully deleted.

  • 401 Unauthorized: If the authentication credentials (Access-Token) is missing or incorrect.

  • 403 Forbidden: If the permission has not been set to your user.

  • 500 Internal Server Error: If there is an issue on the server that prevents processing the request.

Response Body:

204 No Content

401 Forbidden

403 Forbidden

Delete a mismatch observation

delete

Permanently removes the row (timestamp hard delete). This is separate from is_disabled, which only pauses processing. After delete, the observation no longer appears in GET list and cannot be PATCHed. Same permission as create/list/update. Returns 404 if the id is unknown, belongs to another customer, or is already deleted. Returns 404 if the id is unknown, belongs to another customer, or is already deleted.

Authorizations
Access-TokenstringRequired
x-api-keystringRequired
Path parameters
observation_idstring · uuidRequired
Responses
chevron-right
204

Observation deleted successfully (no response body).

No content

delete
/mismatch-observations/{observation_id}

No content

Last updated