Skip to main content
POST
/
classe
/
{id}
/
add-student
Adicionar aluno na turma
curl --request POST \
  --url https://api.plataformainsight.com.br/v1/classe/{id}/add-student \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "email": "<string>",
  "expirationDate": "2023-11-07T05:31:56Z"
}
'
{
  "status": "<string>",
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Código da turma

Body

application/json
name
string
required

Nome do aluno

email
string
required

Email do aluno

expirationDate
string<date-time>

Data de expiração do aluno na turma

Response