Update a user
PATCH/users/:id
Update a Nabla Core API user. Please be aware that this operation supports partial updates of the user's fields. However partial updates are not supported within the metadata dictionary. Therefore, to update a field within metadata, you must resend the entire dictionary each time.
Requestโ
Path Parameters
The unique identifier of the Copilot API user.
- application/json
Body
required
Possible values: <= 256 characters
A unique identifier for the user from another system which is given to Nabla.
metadata objectnullable
You can use this parameter to attach key-value data to the object. You can specify up to 50 keys, with key names up to 40 characters long, all values must be of type string and up to 500 characters long.
You should not use this to store Protected Health Information (PHI) or any patient-related data.
Responsesโ
- 200
User.
- application/json
- Schema
- Example (from schema)
Schema
A unique identifier.
Always true unless you explicitly deactivate the user.
Possible values: <= 256 characters
A unique identifier for the user from another system which is given to Nabla.
metadata objectnullable
You can use this parameter to attach key-value data to the object. You can specify up to 50 keys, with key names up to 40 characters long, all values must be of type string and up to 500 characters long.
You should not use this to store Protected Health Information (PHI) or any patient-related data.
The creation date of this object, in ISO 8601 format.
{
"id": "98FCE1EF-DBCA-41EF-8BC7-4D1621AC07C6",
"activated": true,
"external_id": "string",
"metadata": {},
"created_at": "2022-03-10T19:16:23.456Z"
}