Workspace

Delete Invitation

Changed on

Deletes a workspace invitation. Only admins can delete invitations.

post/api/v1/workspaces/invitations/delete

Request

  • Base URL
    https://api.todoist.com
  • URL
    https://api.todoist.com/api/v1/workspaces/invitations/delete
  • Auth
    none declared

Request body

workspace_idinteger required

ID of the workspace containing the invitation.

user_emailstring required

Email address of the invited user.

Example request

{
  "workspace_id": 123456,
  "user_email": "teammate@example.com"
}

Response

Successful Response

inviter_idstring required

ID of the user user who sent the invitation

user_emailstring required

The invited person's email.

workspace_idstring required

ID of the workspace

role'ADMIN' | 'MEMBER' | 'GUEST' required

Role of the user inside the workspace

idstring

The ID of the invitation

app'todoist' | 'comms' | 'automations'

Product name as first-party clients spell it on the wire.

Example response

{
  "inviter_id": "1029384756",
  "user_email": "foo@example.com",
  "workspace_id": "12345",
  "id": "234"
}

Changes