Delete an instance of variables

delete

/services/rest/connect/latest/variables/{id}

Request

Path Parameters

Response

Default Response

Body ()
Root Schema : No content
Type: null
Title: No content
No content returned on delete

Examples

Use DELETE with the following syntax to delete a variable object:

https://your_site_interface/services/rest/connect/version/variables/variable_id

Request URI example

https://mysite.example.com/services/rest/connect/v1.4/variables/3

Response example

The status 200 OK is returned. Then running this ROQL tabular query on variable records:

https://mysite.example.com/services/rest/connect/v1.4/queryResults?
query=select id,name from variables

returns the following:

{
  "items": [
    {
      "tableName": "variables",
      "count": 3,
      "columnNames": [
        "id",
        "name"
      ],
      "rows": [
        [
          "2",
          "Address"
        ],
        [
          "1",
          "Phone_number"
        ],
        [
          "4",
          "Product"
        ]
      ]
    }
  ],
  "links": [
    {
      "rel": "self",
      "href": "https://mysite.example.com/services/rest/connect/v1.4/queryResults
       ?query=select%20id,name%20from%20variables"
    },
    {
      "rel": "canonical",
      "href": "https://mysite.example.com/services/rest/connect/v1.4/queryResults"
    },
    {
      "rel": "describedby",
      "href": "https://mysite.example.com/services/rest/connect/v1.4/metadata-catalog/
       queryResults",
      "mediaType": "application/schema+json"
    }
  ]
}

Note:

Variable 3 no longer exists.