GuideLab Docs

Close a practice

Ends every hidden membership and refuses later profile, member, patient and file writes. Orders, files and partnerships stay for the labs' records; patient erasure still works. Idempotent.

POST
/smileline/v1/practices/{practiceRef}/close

Ends every hidden membership and refuses later profile, member, patient and file writes. Orders, files and partnerships stay for the labs' records; patient erasure still works. Idempotent.

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

practiceRef*string
Match^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/u

Response Body

application/json

application/json

curl -X POST "https://example.com/smileline/v1/practices/string/close"
{  "practiceRef": "string",  "closedAt": "string"}
Empty
Empty
Empty
{  "error": "string",  "code": "string"}