Skip to main content
PUT
/
v1
/
trainings
/
{id}
Update training
curl --request PUT \
  --url https://api.timelyai.com.br/v1/trainings/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "title": "<string>",
  "content": "<string>"
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "title": "<string>",
    "content": "<string>",
    "type": "text",
    "status": "pending",
    "created_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

x-api-key
string
header
required

API key obtained from the dashboard

Path Parameters

id
string<uuid>
required

Training ID

Body

application/json
title
string
Required string length: 1 - 200
content
string
Minimum string length: 1

Response

Training updated

data
object