Skip to main content
PUT
/
v2
/
training
/
{trainingId}
cURL
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

type
enum<string>

Tipo do treinamento deve ser TEXT

Available options:
TEXT
text
string

Texto atualizado do treinamento

image
string

URL de uma imagem para o treinamento

Response

Treinamento atualizado com sucesso

success
boolean
I