Delete approval policy

Details

URI /organization/<organization_id>/approvalPolicy/<policy_id>
Method DELETE
Parameters

userIdentifier=<user_id>
    Required; the user ID you want to use as credentials for this API call. See Get userIdentifier for the steps required to get the userIdentifier value.

Returns 200 - Ok
401 - Not authorized
404 - Object not found
500 - Server exception

Example

The following URL was sent:https://<host>:<port>/csa/rest/organization/8a81818f3d1421e7013d1423635a0003/ approvalPolicy/8a81818f3d1437e2013d17f249c30a0c? userIdentifier=90d96588360da0c701360da0f1d5f483

The following XML was returned:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<NamedApproverApprovalTemplate>
  <id>8a81818f3d1437e2013d17f249c30a0c</id>
  <objectId>8a81818f3d1437e2013d17f249c30a0c</objectId>
  <createdOn>2013-02-26T11:19:47.397-08:00</createdOn>
  <updatedOn>2013-02-26T11:45:06.900-08:00</updatedOn>
  <name>My-New-Approval-Template_February 26, 2013 7:19:47 PM UTC</name>
  <displayName>Updated-My-Approval-Template</displayName>
  <state>
    <id>90d96588360da0c701360da0ef4b0039</id>
    <objectId>90d96588360da0c701360da0ef4b0039</objectId>
    <createdOn>2013-02-25T17:32:55.547-08:00</createdOn>
    <isCriticalSystemObject>true</isCriticalSystemObject>
    <description>Retired</description>
    <iconUrl>/csa/images/categories/artifact_state/retired.png</iconUrl>
    <name>RETIRED</name>
    <displayName>Retired</displayName>
    <disabled>false</disabled>
    <categoryType> ... </categoryType>
  </state></NamedApproverApprovalTemplate>