Skip to main content
DELETE
/
api
/
route-calls
/
:routeCallId
/
attendances
curl -X DELETE https://api.losinmaduros.com/api/route-calls/987e6543-e21b-12d3-a456-426614174000/attendances \
  -H "Authorization: Bearer YOUR_TOKEN"
{
  "success": true,
  "data": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "userId": "user_2abc123def456",
    "routeCallId": "987e6543-e21b-12d3-a456-426614174000",
    "status": "CANCELLED",
    "createdAt": "2026-02-10T10:00:00Z",
    "updatedAt": "2026-02-10T15:30:00Z",
    "routeCall": {
      "id": "987e6543-e21b-12d3-a456-426614174000",
      "title": "Ruta Casa de Campo - Domingo",
      "dateRoute": "2026-02-15T10:00:00Z"
    }
  },
  "message": "Attendance cancelled successfully"
}
Cancel your attendance to a specific route call. This performs a soft delete by updating the attendance status to CANCELLED.

Authentication

This endpoint requires authentication. Include a valid Bearer token in the Authorization header.

Path Parameters

routeCallId
string
required
The unique identifier (UUID) of the route call.Example: 987e6543-e21b-12d3-a456-426614174000

Behavior

  • Updates your attendance status from CONFIRMED to CANCELLED
  • Only your own attendance can be cancelled
  • Cannot cancel an attendance that is already cancelled
  • Attendance record is not deleted from the database (soft delete)

Response

success
boolean
Indicates if the request was successful.Example: true
data
object
The updated attendance object
message
string
A success message.Example: Attendance cancelled successfully

Status Codes

200
OK
Attendance cancelled successfully.
400
Bad Request
Attendance is already cancelled.Example error: Attendance is already cancelled
401
Unauthorized
Invalid or missing authentication token.
404
Not Found
Attendance not found. You don’t have an attendance record for this route call.

AttendanceStatus Enum

Attendances in the Los Inmaduros system can have one of two statuses:
curl -X DELETE https://api.losinmaduros.com/api/route-calls/987e6543-e21b-12d3-a456-426614174000/attendances \
  -H "Authorization: Bearer YOUR_TOKEN"
{
  "success": true,
  "data": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "userId": "user_2abc123def456",
    "routeCallId": "987e6543-e21b-12d3-a456-426614174000",
    "status": "CANCELLED",
    "createdAt": "2026-02-10T10:00:00Z",
    "updatedAt": "2026-02-10T15:30:00Z",
    "routeCall": {
      "id": "987e6543-e21b-12d3-a456-426614174000",
      "title": "Ruta Casa de Campo - Domingo",
      "dateRoute": "2026-02-15T10:00:00Z"
    }
  },
  "message": "Attendance cancelled successfully"
}

Build docs developers (and LLMs) love