Endpoint
Authentication
This endpoint requires a valid JWT token.Path Parameters
The unique identifier of the activity to deactivate
Response
Returns the updated activity object withactivo set to false.
Unique identifier for the activity
Name of the activity
Description of the activity
Objective of the activity
Activity category
Whether the activity is active (will be false)
Example Request
Example Response
Error Responses
Not Found
Deactivated activities will not appear in the
/actividades endpoint (which only returns active activities), but can be retrieved using /actividades/todas.To reactivate an activity, use the
/actividades/:id/reactivar endpoint.