Environments

Set the environment metadata

Set the metadata for an environment.

put/_api/environments/{environment}/metadata

Request

Path parameters

environmentstring string required

The environment name for which metadata should be set.

Request body

metadataobject

Object with user defined key-value pairs.

Example request

{
  "metadata": {
    "key": "value"
  }
}

Response

Successfully set the environment metadata.

codeinteger

HTTP response code.

errorboolean

Flag if there is an error in response. False for this response.

resultboolean

Flag for if the environment was set successfully.

Example response

{
  "code": 201,
  "result": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.