Skip to main content
PUT
Update an activity type

Authorizations

Authorization
string
header
required

Token de sesión Better Auth para rutas de backoffice; las rutas de portal usan su token propio.

Path Parameters

id
number
required

Activity type ID

Body

application/json
name
string

Name of the activity type

Maximum string length: 100
Example:

"Nota interna"

is_active
boolean

Whether the activity type is active

Example:

true

Response

Activity type updated successfully

id
number
required

ID del tipo de actividad

name
string
required

Nombre del tipo de actividad

is_active
boolean
required

Estado activo/inactivo

key
string | null

Clave semántica del tipo (nota, whatsapp, correo, linkedin, llamada, reunion, formulario_web); null en tipos propios del tenant