Remove incidence

This endpoint allows removing an incidence by its identifier.

DELETE /api/v1/businesses/{businessId}/incidences/{incidenceId}

If the data included in the request is correct —both the businessId and the incidenceId—, the indicated incidence will be removed.

Considerations

The identifier that must be specified in the request is the external identifier.

Error codes

In addition to the common errors, this endpoint can return the following codes:

Code Message Description

404 Not Found

Could not find any incidence with id […​]

The indicated incidenceId does not exist for the business.

What is an incidence?

What types of identifiers exist?