Role requirements
Creating, editing, and deleting events requires an authenticated account. ThePOST /api/events, PUT /api/events/{id}, and DELETE /api/events/{id} endpoints accept the USER, ORGANIZER, and ADMIN roles.
While any authenticated user can technically submit to the events API, the UI surfaces the Nuevo Evento button to all logged-in users. Upgrading to an Organizer membership unlocks additional benefits such as managing attendee lists. See Memberships for details.
Creating an event
The event creation form is at/main/event/create. You can reach it by clicking Nuevo Evento in the sidebar or on your profile page.
Open the creation form
Click Nuevo Evento in the sidebar or on the profile page (
/user). The form loads at /main/event/create.Fill in the event details
Complete all required fields:
The category dropdown is populated from
| Field | Form label | Type | Validation |
|---|---|---|---|
title | Título del Evento | Text | Required |
categoryId | Categoría | Select | Required — choose from the available categories |
description | Descripción | Textarea | Required |
ubication | Ubicación | Text | Required |
date | Fecha de Realización | Date/time picker | Required, must be a future date |
GET /api/categories. If categories are still loading, the dropdown shows a loading state.API reference
The
organizerId field in EventCreateDto is set server-side from the authenticated user’s identity. You do not need to supply it in the request body.Editing an event
Event organizers and administrators can edit an event from its detail page. The edit button (/main/event/edit/{id}) is only shown to the event’s organizer or to users with the ADMIN role.
Click Editar Evento
The blue Editar Evento button appears in the top-right of the event card if you are the organizer or an admin.
Update the fields
The edit form at
/main/event/edit/{id} pre-fills all current values. You can update any of the following fields:| Field | Form label |
|---|---|
title | Título del Evento |
categoryId | Categoría |
description | Descripción |
ubication | Ubicación |
date | Fecha de Realización |
API reference
Deleting an event
The red Eliminar Evento button is available on the event detail page to the event’s organizer and to admins.Confirm deletion
A confirmation dialog appears. Click Sí, eliminar to proceed. Click No, cancelar to abort.