Skip to content

Rename a List

Request

Give a List a new name. Nothing else about it changes. Use this when someone asks to rename a List. Changes the name and nothing else, as one new version.

Security
bearerKey
Path
idstringrequired
Headers
Idempotency-Keystring, [ 1 .. 128 ] characters

1 to 128 characters. A retry with the same key and body returns the first result; the same key with another body is 409.

Bodyapplication/jsonrequired
namestring, [ 1 .. 200 ] charactersrequired
curl -i -X PATCH \
  'https://docs.societyhealth.co/_mock/docs/openapi/api/v1/lists/{id}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Virginia health systems"
  }'

Responses

Done.

Bodyapplication/json
okanyrequired
Value:true
dataobject(PublicList)required
Response
{ "ok": true, "data": { "id": "Lst8kQ2mZp4xV7nR1tYw", "url": "https://hrcledger.com/lists/items/Lst8kQ2mZp4xV7nR1tYw", "name": "Virginia systems", "purpose": "general", "archived": false, "revisionNo": 2, "updatedAt": "2026-10-16T14:02:11.000Z" } }