Chilkat Online Tools

Unicode C++ / DocuSign Rooms API - v2 / Delete a region.

Back to Collection Items

void ChilkatSample(void)
    {
    http.put_AuthToken(L"{{accessToken}}");    json.EmitSb(sbRequestBody);
    }

Curl Command

curl -X DELETE
	-H "Accept: text/plain, application/json, text/json"
	-H "Authorization: Bearer {{accessToken}}"
	-d '{}'
https://domain.com/v2/accounts/{{accountId}}/regions/{{regionId}}

Postman Collection Item JSON

{
  "name": "Delete a region.",
  "request": {
    "method": "DELETE",
    "header": [
      {
        "key": "Accept",
        "value": "text/plain, application/json, text/json"
      },
      {
        "key": "Authorization",
        "value": "Bearer {{accessToken}}"
      }
    ],
    "body": {
      "mode": "raw",
      "raw": "{}"
    },
    "url": {
      "raw": "{{baseUrl}}/v2/accounts/{{accountId}}/regions/{{regionId}}",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "v2",
        "accounts",
        "{{accountId}}",
        "regions",
        "{{regionId}}"
      ],
      "variable": [
        {
          "key": "regionId",
          "value": "{{regionId}}"
        },
        {
          "key": "accountId",
          "value": "{{accountId}}"
        }
      ]
    }
  },
  "response": [
  ]
}