Change the review settings
PUT
/api/settings/review
const url = 'https://forge.example.com/api/settings/review';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"exportNames":true,"version":1}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://forge.example.com/api/settings/review \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "exportNames": true, "version": 1 }'With the settings’ version as you read it, 0 while nothing was saved. For administrators and the central team.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
exportNames
required
boolean
version
required
null | integer | string format: int32
Example generated
{ "exportNames": true, "version": 1}Responses
Section titled “Responses”OK
Media typeapplication/json
object
exportNames
required
boolean
version
required
integer | string format: int32
canChange
required
boolean
Example generated
{ "exportNames": true, "version": 1, "canChange": true}default
Section titled “default”A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.
Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string
Example generated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}