Pular para o conteúdo principal
POST
/
memberships
/
invite
Enviar convite
curl --request POST \
  --url https://api.contas.rdstationmentoria.com.br/rest/memberships/invite \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "emails": [
    "[email protected]"
  ],
  "roles": [
    {
      "appId": "<string>",
      "role": null
    }
  ],
  "admin": true
}
'
true

Autorizações

Authorization
string
header
obrigatório

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

Corpo

application/json
emails
string<email>[]
obrigatório

Lista de e-mails únicos para os quais serão enviados convites

Minimum array length: 1

Endereço de e-mail válido

roles
object[]
obrigatório

Lista de papéis que serão atribuídos aos convidados

admin
boolean
obrigatório

Indica se o convite é para um administrador

Resposta

Successful response

The response is of type boolean.