Resend member invitation

Description

Resend a team invitation to a user.

Request

HTTP Method: POST

Path Parameter Description
team_id ID of the team
Query Parameter Description
user_id ID of user
curl -X POST \
  https://<<META.tenant.domain>>/api/v1/teams/<<team_id>>/resend_invitation \
  -H 'content-type: application/json' \
  -H 'Authorization: Bearer <<CREDENTIAL.tines_api_key>>'
  -d '{
        "user_id": 2
      }'

Response

A successful request will return a JSON object representing the invited user.

Field description

Parameter Description
id User ID.
email User email.
first_name User first name.
last_name User last name.
is_admin Boolean flag indicating whether user is an admin.
created_at Timestamp describing when the user was created.
last_seen Timestamp describing when the user was last seen in the platform.
invitation_accepted Boolean flag indicating if the user accepted the invitation to join the team

Sample response

{
  "id": 2,
  "first_name": "First name",
  "last_name": "Last name",
  "email": "user@example.com",
  "is_admin": false,
  "created_at": "2021-04-30T09:12:40Z",
  "last_seen": null,
  "invitation_accepted": false
}
Was this helpful?