Delete an instance of organizations

delete

/services/rest/connect/latest/organizations/{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 an organization:

https://your_site_interface/services/rest/connect/version/organizations/organization_id

Request URI example

https://mysite.example.com/services/rest/connect/v1.4/organizations/14

Response example

The status 200 OK is returned. Then running this query on organization records:

https://mysite.example.com/services/rest/connect/v1.4/
organizations?fields=id,lookupName&orderBy=id:desc

returns the following:

{
  "items": [
    {
      "id": 16,
      "lookupName": "Oracle Corporation",
      "createdTime": "2016-02-01T15:14:50Z",
      "updatedTime": "2016-02-01T15:14:50Z",
      "links": [
        {
          "rel": "canonical",
          "href": "https://mysite.example.com/services/rest/connect/v1.4/organizations/16"
        }
      ]
    },
    {
      "id": 15,
      "lookupName": "Oracle Corporation",
      "createdTime": "2010-12-01T20:31:53Z",
      "updatedTime": "2016-02-01T15:20:43Z",
      "links": [
        {
          "rel": "canonical",
          "href": "https://mysite.example.com/services/rest/connect/v1.4/organizations/15"
        }
      ]
    },
    {
      "id": 13,
      "lookupName": "Challenger Research",
      "createdTime": "2010-11-30T01:09:37Z",
      "updatedTime": "2010-11-30T01:09:37Z",
      "links": [
        {
          "rel": "canonical",
          "href": "https://mysite.example.com/services/rest/connect/v1.4/organizations/13"
        }
      ]
    },
    {
      "id": 12,
      "lookupName": "Calliente Technologies",
      "createdTime": "2010-11-30T01:09:37Z",
      "updatedTime": "2010-11-30T01:09:37Z",
      "links": [
        {
          "rel": "canonical",
          "href": "https://mysite.example.com/services/rest/connect/v1.4/organizations/12"
        }
      ]
    },

    ...

}

Note:

Organization 14 no longer exists.