POST
/
memberships
/
invite
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

Response

200
application/json

Successful response

The response is of type boolean.

POST
/
memberships
/
invite
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

Response

200
application/json

Successful response

The response is of type boolean.