Skip to content

Add an item to the Organization Environment

POST
/api/settings/environment
curl --request POST \
--url https://forge.example.com/api/settings/environment \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "kind": "example", "name": "example", "zone": "example", "appliesWhen": [ "example" ], "appliesWhenNote": "example", "note": "example", "match": [ "example" ], "elementType": "example", "dependencyKind": "example", "version": 1 }'

Checked by the engine’s own check of an environment. For administrators, the central team and assessors.

Media typeapplication/json
object
kind
required
string
name
required
string
zone
required
null | string
appliesWhen
required
Array<string> | null
appliesWhenNote
required
null | string
note
required
null | string
match
required
Array<string> | null
elementType
required
null | string
dependencyKind
required
null | string
version
required
null | integer | string format: int32
/^-?(?:0|[1-9]\d*)$/

Example generated

{
"kind": "example",
"name": "example",
"zone": "example",
"appliesWhen": [
"example"
],
"appliesWhenNote": "example",
"note": "example",
"match": [
"example"
],
"elementType": "example",
"dependencyKind": "example",
"version": 1
}

OK

Media typeapplication/json
object
id
required
string format: uuid
kind
required
string
name
required
string
zone
required
null | string
appliesWhen
required
Array<string>
appliesWhenNote
required
null | string
note
required
null | string
match
required
Array<string>
elementType
required
null | string
dependencyKind
required
null | string
version
required
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
updatedBy
required
One of:
null
updatedAt
required
string format: date-time

Example generated

{
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"kind": "example",
"name": "example",
"zone": "example",
"appliesWhen": [
"example"
],
"appliesWhenNote": "example",
"note": "example",
"match": [
"example"
],
"elementType": "example",
"dependencyKind": "example",
"version": 1,
"updatedBy": {
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"displayName": "example"
},
"updatedAt": "2026-04-15T12:00:00Z"
}

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