Skip to main content
DELETE
/
v1
/
units
/
{unitId}
Delete unit
curl --request DELETE \
  --url https://app.blinksale.test/api/v1/units/{unitId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "Operation completed successfully"
}

Authorizations

Authorization
string
header
required

Access token obtained from the /v1/auth/login endpoint

Path Parameters

unitId
string<uuid>
required

The ID of the unit to delete

Response

Unit deleted successfully

success
boolean
required
Example:

true

message
string
required
Example:

"Operation completed successfully"