Maalam Developers
Integration

Delete a unit

A unit nobody has ever held or booked is deleted. One with history is taken off the market instead (`archived`), because the bookings behind it are records.

DELETE
/v1/integration/projects/{slug}/units/{code}

A unit nobody has ever held or booked is deleted. One with history is taken off the market instead (archived), because the bookings behind it are records.

AuthorizationBearer <token>

An API key from the back office (settings → API), sent as Authorization: Bearer mlm_live_….

In: header

Path Parameters

slug*string
Match^[a-z0-9]+(-[a-z0-9]+)*$
Length2 <= length <= 100
code*string
Length1 <= length <= 50

Response Body

application/json

curl -X DELETE "https://example.com/v1/integration/projects/string/units/string"
{  "outcome": "deleted"}