DELETE Password Policy

Removes Password Policy from the Secure Proxy Configuration Manager.

With the deletePasswordPolicy/{Password Policy Name} method, you can delete a Password Policy on the Secure Proxy Configuration Manager.

This API method requires authentication. The authentication token that is generated at login must be passed in through the "X-Authentication" header.

Table 1. Delete Password Policy request details

Delete Password Policy request details.

Method Resource URI Description

DELETE

passwordPolicyName

/sspcmrest/sspcm/rest/passwordPolicy/deletePasswordPolicy/{Password Policy Name}

Deletes the Password Policy from the
Secure Proxy Configuration Manager.
Table 2. Delete Password Policy URI input parameters

Delete Password Policy URI input parameters

Parameter Required or Optional Description Validation Valid values

Password Policy Name

Required

Removes a Password Policy from the IBM Secure Proxy Configuration Manager.

Must be a non-empty string

A-Z a-z 0-9 ._-

HTTP Password Policy request

The following example shows the HTTP request:


DELETE https://localhost:8443/sspcmrest/sspcm/rest/passwordPolicy/
deletePasswordPolicy/PasswordPolicy2

XML Password Policy response

The following example shows the XML response.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <XmlResponse>
    <httpCode>200</httpCode>
    <httpStatus>OK</httpStatus>
    <action>None</action>
    <message>passwordPolicyDef MyPasswordPolicy deleted.</message>
    <messageLevel>INFO</messageLevel>
    <results/>
    </XmlResponse>