Skip to content

Change the review settings

PUT
/api/settings/review
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.

Media typeapplication/json
object
exportNames
required
boolean
version
required
null | integer | string format: int32
/^-?(?:0|[1-9]\d*)$/

Example generated

{
"exportNames": true,
"version": 1
}

OK

Media typeapplication/json
object
exportNames
required
boolean
version
required
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
canChange
required
boolean

Example generated

{
"exportNames": true,
"version": 1,
"canChange": true
}

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"
}