cURL
curl --request PUT \ --url https://pria.praxislxp.com/api/user/setting/{settingId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "key": "variable-2", "value": "variable value ", "admin_only": true, "editable_others": true, "institution_shared": true }'
{ "success": true, "setting": { "acknowledged": true, "modifiedCount": 0, "upsertedId": null, "upsertedCount": 0, "matchedCount": 1 }, "message": "Setting updated!" }
Updates an existing instance variable by ID with new values and permissions
JWT token passed in x-access-token header
The unique identifier of the setting to update
Setting successfully updated
The response is of type object.
object
Was this page helpful?