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": [
    "jsmith@example.com"
  ],
  "roles": [
    {
      "appId": "<string>",
      "role": null
    }
  ],
  "admin": true
}'
true

Authorizations

Authorization
string
header
required

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

Body

application/json
emails
string<email>[]
required

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

Minimum length: 1

Endereço de e-mail válido

roles
object[]
required

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

admin
boolean
required

Indica se o convite é para um administrador

Response

Successful response

The response is of type boolean.