Skip to main content

Create Environment Variable

Overview

Create an Environment variable.

URL: api/evar/create

Method: POST

Request Header:

    { "accept": "'*/*'", "Authorization": Bearer ACCESS_TOKEN }

Request Body:

    {
"name": "DemoEvar",
"value": "Testing",
"isEncrypted": false,
"description": "Demo Evar Creation",
"typeID": 1,
"scopeID": 1
}

Response:

  • Status: 200 OK

  • Body:

       {
    "id": 23,
    "tenantId": 1,
    "name": "DemoEvar",
    "value": "Testing",
    "isEncrypted": false,
    "description": "Demo Evar Creation",
    "typeID": 1,
    "scopeID": 1,
    "ownerId": 2,
    "created": "2024-04-10T14:18:48.5539768Z",
    "modified": "2024-04-10T14:18:48.5539768Z",
    "createdBy": "2#demouser1 1",
    "modifiedBy": "2#demouser1 1"
    }
  • Header:

       {
    content-length: 329
    referrer-policy: no-referrer
    x-content-type-options: nosniff
    x-xss-protection: 1; mode=block
    }