Groundeddocs
ReferenceAdmin

Turn evaluations on or off for the platform (platform admins; audited). Off hides the tabs and answers 404 on the evaluation API.

PUT/v1/admin/settings/evaluations

Header Parameters

If-Match*string

The resource's revision, as returned in ETag (for example "3"). Missing returns 428; stale returns 412.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/v1/admin/settings/evaluations" \  -H "If-Match: string" \  -H "Content-Type: application/json" \  -d '{    "enabled": true  }'
{  "data": {    "enabled": true,    "revision": 0,    "updatedAt": "2019-08-24T14:15:22Z"  }}