back to API list


This method deletes a department under your account based on the provided department ID.


URL

https://api.plupper.com/resources/department/<departmentId>

Formats

plain text

HTTP Method

DELETE

Requires Authentication

HTTP BASIC

API rate limited

No

Parameters

none

Response

200 OK

Example queries

  • DELETE https://api.plupper.com/resources/department/<123>
  • jQuery example
    $.ajax({
        type: "DELETE",
        url: "https://api.plupper.com/resources/department/" + departmentId,
        username: "john.lennon@example.com",
        password: "mysecret",
        success: function() {
            alert("Department Deleted");
        }
    });
                        

STAY CONNECTED