Skip to main content
POST
/
classe
/
{id}
/
add-students
Adicionar alunos na turma
curl --request POST \
  --url https://api.plataformainsight.com.br/v1/classe/{id}/add-students \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "students": [
    {
      "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
students
object[]
required
Minimum array length: 1

Response