Skip to Content
SeyloDocs

Revoke an invite

POST
/api/v1/invites.revoke

Makes a pending invite link stop working. Accepted invites cannot be revoked; remove the person or their grants instead.

Needs users.invite, which owners and admins hold. Not available to MCP clients or the assistant.

Authorization

cookieseylo_session<token>

Request Body

application/json
  1. body
inviteId*string

Panel-issued id.

Match^[a-z0-9]{16}$

Response Body

Success.

application/json
  1. response
id*string

Panel-issued id.

Match^[a-z0-9]{16}$
email*string
Formatemail
Lengthlength <= 254
role*string|string
grants*array<>
status*string|string|string|string
invitedBy*|null
expiresAt*string
Formatdate-time
acceptedAt*|null
createdAt*string
Formatdate-time
Example Request
curl -X POST 'https://example.com/api/v1/invites.revoke' \  -H 'Content-Type: application/json' \  -d '{  "inviteId": "string"}'
Example Response
{  "id": "string",  "email": "[email protected]",  "role": "admin",  "grants": [    {      "scopeType": "project",      "scopeId": "string",      "scopeName": "string",      "actions": [        "string"      ]    }  ],  "status": "pending",  "invitedBy": {    "id": "string",    "email": "string",    "name": "string"  },  "expiresAt": "2019-08-24T14:15:22Z",  "acceptedAt": "2019-08-24T14:15:22Z",  "createdAt": "2019-08-24T14:15:22Z"}