Delete address
DELETE/company/address/:id
Delete an existing company address.
Constraints:
- Only addresses with can_be_deleted=true
- Requires administrator permissions
- Cannot delete the last address
Successful response example:
{
_id: 507f1f77bcf86cd799439011
}
Notes:
- Irreversible operation
- Verify can_be_deleted before attempting deletion
- Requires valid JWT token
Request
Responses
- 200
- 401
- 403
- 404
Address successfully deleted.
Unauthorized (invalid or missing JWT token)
You do not have permissions for this operation or the address cannot be deleted.
Address not found