Environments

Modify the environment metadata

Update the environment metadata.

patch/_api/environments/{environment}/metadata

Request

Path parameters

environmentstring string required

Environment name.

Request body

metadataobject

Object with user defined key-value pairs.

Example request

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

Response

Successfully updated 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 updated successfully.

Example response

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

Changes

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