GuideLab Docs

Decline a lab's invitation

Declines a pending invitation; the same practice's replay answers as before.

POST
/smileline/v1/invitations/{id}/decline

Declines a pending invitation; the same practice's replay answers as before.

Authorization

smilelineBearer
AuthorizationBearer <token>

Smileline cell credential gl_sl_v1_<cell>_<secret>, one per Smileline cell; accepted only on /smileline/v1. A practice belongs to one cell and is not found from any other.

In: header

Path Parameters

id*string
Length1 <= length <= 200

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/smileline/v1/invitations/string/decline" \  -H "Content-Type: application/json" \  -d '{    "practiceRef": "string"  }'
{  "invitationId": "string",  "labId": "string",  "status": "pending"}
Empty
Empty
Empty
{  "error": "string",  "code": "string"}