Sessions
Revoke a session share
Revoke a read-only share by email. Removes either an active share (for a registered recipient) or a pending invitation. Only the session owner can revoke shares.
The operation is idempotent: revoking an email that isn't currently shared returns revoked: false with 200 OK.
Example
curl -X DELETE https://elicit.com/api/v2/sessions/{sessionId}/shares \
-H "Authorization: Bearer elk_live_your_key_here" \
-H "Content-Type: application/json" \
-d '{"email":"colleague@example.com"}'
delete/sessions/{sessionId}/shares
Path parameters
sessionIdstring uuid required
The session ID (UUID) returned by the create endpoints and GET /sessions
Example:5ad08bfb-cbe0-4911-a8c3-309760d33029
The session ID (UUID) returned by the create endpoints and GET /sessions
Request body
Example request
{
"email": "colleague@example.com"
}Response
The share was revoked, or there was nothing to revoke (idempotent).
Changes
No recorded changes to this endpoint across all 1 revision of this API.