Skip to main content
DELETE
/
workspace
/
invitations
/
{user_id}
Revoke a pending invitation.
curl --request DELETE \
  --url https://app.timelines.ai/integrations/api/workspace/invitations/{user_id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Invitation revoked successfully",
  "status": "ok"
}

Documentation Index

Fetch the complete documentation index at: https://timelines.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Path Parameters

user_id
string
required

Numeric user ID of the teammate, as returned by GET /workspace/teammates.

Response

Successful query

message
string
required

Human-readable confirmation of the completed action

Example:

"Invitation revoked successfully"

status
enum<string>
required

Result status

Available options:
ok,
error
Example:

"ok"