Skip to main content
PUT
/
api
/
v1
/
activity-type
/
{id}
Update an activity type
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
}

Authorizations

Authorization
string
header
required

Bearer token authentication

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