GuideLab Docs

Cancel an invitation to a Smileline practice

Cancels a pending invitation. Idempotent. Lab managers only.

POST
/partnerships/smileline-invitations/{id}/cancel

Cancels a pending invitation. Idempotent. Lab managers only.

Authorization

__Secure-guidelab-prod.session_token<token>

Production session cookie set for the guidelab.co domain by Better Auth

In: cookie

Path Parameters

id*string
Length1 <= length <= 200

Response Body

application/json

curl -X POST "https://example.com/partnerships/smileline-invitations/string/cancel"
{  "invitation": {    "id": "string",    "email": "string",    "practiceName": "string",    "contactName": "string",    "country": "string",    "status": "pending",    "expired": true,    "expiresAt": "string",    "sentAt": "string",    "replacesClinicId": "string",    "createdAt": "string"  }}
Empty
Empty