Use the del-branded-idp operation to remove a branded IdP for a specific site.
A request XML packet removing a branded IdP URL includes the del-branded-idp operation node:
<packet>
<sso>
<del-branded-idp>
...
</del-branded-idp>
</sso>
</packet>
The del-branded-idp node is presented by type SSODelRelayInput (sso.xsd
), and its graphical representation is as follows:
sso.xsd
).
Important: When creating request packets, put nodes and elements in the order they follow in the packet structure.
The del-branded-idp node of the output XML packet is presented by type SSODelRelayOutput (sso.xsd
) and structured as follows:
common.xsd
).
The packet that removes branded IdP idp.example.com:1180 looks as follows:
<packet>
<sso>
<del-branded-idp>
<filter>
<idp-url>aWRwLmV4YW1wbGUuY29tOjExODA=</idp-url>
</filter>
</del-branded-idp>
</sso>
</packet>
Response:
<packet>
<sso>
<del-branded-idp>
<result>
<status>ok</status>
<filter-id>aWRwLmV4YW1wbGUuY29tOjExODA=</filter-id>
<id>42</id>
</result>
</del-branded-idp>
</sso>
</packet>
A negative response from the server can look as follows:
<packet>
<sso>
<del-branded-idp>
<result>
<status>error</status>
<errcode>1026</errcode>
<errtext>The service is not installed.</errtext>
</result>
</del-branded-idp>
</sso>
</packet>
If the branded IdP was not found in Plesk database, the response from the server looks as follows:
<packet>
<sso>
<del-branded-idp>
<result>
<result>
<status>error</status>
<errcode>1013</errcode>
<errtext>Record does not exist.</errtext>
</result>
</result>
</del-branded-idp>
</sso>
</packet>
The packet that removes branded IdPs idp.example.com:1180 and idp.example2.com:1180 looks as follows:
<packet>
<sso>
<del-branded-idp>
<filter>
<idp-url>aWRwLmV4YW1wbGUuY29tOjExODA=</idp-url>
<idp-url>aWRwLmV4YW1wbGUyLmNvbToxMTgw</idp-url>
</filter>
</del-branded-idp>
</sso>
</packet>
Response:
<packet>
<sso>
<del-branded-idp>
<result>
<status>ok</status>
<filter-id>aWRwLmV4YW1wbGUuY29tOjExODA=</filter-id>
<id>42</id>
</result>
<result>
<status>ok</status>
<filter-id>aWRwLmV4YW1wbGUyLmNvbToxMTgw</filter-id>
<id>32</id>
</result>
</del-branded-idp>
</sso>
</packet>