Set a user's role and capabilities
Applies Smileline's desired state at its authority version. Older versions are refused with 409 stale_authority; the same version is a no-op replay.
Applies Smileline's desired state at its authority version. Older versions are refused with 409 stale_authority; the same version is a no-op replay.
Authorization
smilelineBearer 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
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/u^[A-Za-z0-9_-]{1,64}$/uRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PUT "https://example.com/smileline/v1/practices/string/members/string" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "role": "admin", "capabilities": { "submitOrders": true, "viewInvoices": true, "payInvoices": true }, "authorityVersion": 0 }'{ "userRef": "string", "authorityVersion": 0, "status": "active"}{ "error": "string", "code": "string"}Reserve and sign a patient file transfer POST
Reserves (practice, sourceRef) with its patient, size and SHA-256 before signing, so a replay reuses the same file; a finalized transfer answers exists. PUT the bytes to uploadUrl with uploadContentType and the declared length, then finalize. Up to 2,147,483,647 bytes.
Create or update a patient PUT
Keyed by the Smileline patient id. A patient Smileline has asked to erase is refused for good.