PUT
/
v2
/
training
/
{trainingId}
curl --request PUT \
  --url https://api.gptmaker.ai/v2/training/{trainingId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "TEXT",
  "text": "<string>",
  "image": "<string>"
}'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

trainingId
string
required

ID do treinamento

Body

application/json

Dados do treinamento a ser adicionado

The body is of type object.

Response

200
application/json

Treinamento atualizado com sucesso

The response is of type object.