cURL
curl --request PUT \ --url https://api.raul.ugps.io/api/v1/activity-type/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "Nota interna", "is_active": true } '
{ "id": 123, "name": "<string>", "is_active": true }
Operacion: Update an activity type.
Bearer token authentication
Activity type ID
Name of the activity type
100
"Nota interna"
Whether the activity type is active
true
Activity type updated successfully
ID del tipo de actividad
Nombre del tipo de actividad
Estado activo/inactivo