Removing Delegation Rule

Use the del-delegation-rule operation to remove a delegation rule.

In this chapter:

Request Packet Structure

Response Packet Structure

Samples

 

Request Packet Structure

A request XML packet removing a delegation rule includes the del-delegation-rule operation node:

<packet>
<sso>
   <del-delegation-rule>
...
   </del-delegation-rule>
</sso>
</packet>

 

The del-delegation-rule node is presented by type SSODelDelegationRuleInput (sso.xsd), and its graphical representation is as follows:

Important: When creating request packets, put nodes and elements in the order they follow in the packet structure.

 

Response Packet Structure

The del-delegation-rule node of the output XML packet is presented by type SSODelDelegationRuleOutput (sso.xsd) and structured as follows:

Note: If no delegation rules were found for a specific Plesk user, the operation status is ok.

 

 

Samples

The packet that deprives user MyExample (registered at the SP specified by ID fvsrf4564asdsRdh4) of access to Plesk user's MyUser resources looks as follows:

<packet version="1.5.2.0">
<sso>
   <del-delegation-rule>
		<sp-id>fvsrf4564asdsRdh4</sp-id>
		<sp-login>MyUser</sp-login>
		<plesk-login>MyExample</plesk-login>
   </del-delegation-rule>
</sso>
</packet>

Response:

<packet version="1.5.2.0">
<sso>
   <del-delegation-rule>
      <result>
          <status>ok</status>
      </result>
   </del-delegation-rule>
</sso>
</packet>