Restoring Default IdP URL

Use the restore-default-idp operation to replace the default IdP URL with the IdP URL given to Plesk after its registration in IdP.

In this chapter:

Request Packet

Response Packet Structure

Samples

 
Request Packet

A request XML packet restoring the default IdP URL includes the restore-default-idp operation node:

<packet version="1.5.2.0">
<sso>
   <restore-default-idp/>
</sso>
</packet>

 

The restore-default-idp node is required. Data type: none.

 
Response Packet Structure

The restore-default-idp node of the output XML packet is presented by type SSORestoreDefaultRelayOutput (sso.xsd) and structured as follows:

  • The result node is required. It wraps the response retrieved from the server. Data type: resultType (common.xsd).
  • The status node is required. It specifies the execution status of the operation. Data type: string. Allowed values: ok | error.
  • The errcode node is optional. Is returns the error code if the operation fails. Data type: integer.
  • The errtext node is optional. It returns the error message if the operation fails. Data type: string.

 

 
Samples

The packet that restores the default IdP URL can look as follows:

<packet version="1.5.2.0">
<sso>
   <restore-default-idp/>
</sso>
</packet>

Response:

<packet version="1.5.2.0">
<sso>
   <restore-default-idp>
      <result>
          <status>ok</status>
      </result>
   </restore-default-idp>
</sso>
</packet>