Purpose

Detaches specified additional or feature key from the parent key.

Signature

Method name: partner10.detachKey

Parameters

# Type Description
1 struct AuthInfo requesting party authentication information
2 string additional/feature key number

Returns

Field Type Description
resultCode int code for command execution result (see below)
resultDesc string textual description of command execution result (see below)

Result Codes

resultCode resultDesc
100

Additional key <key number> has been successfully detached from <key number>

Feature key <key number> has been successfully detached from <key number>

101

Additional key <key number> is already detached

Feature key <key number> is already detached

200 Client authorization failed
201 Access to this method is denied
202 Access to this object is denied
203 Not enough permissions to attach feature keys
220 Key <key number> is not found
221 License key <key number> is marked as problem
222 License key <key number> is terminated
256 Key specified by the key number is not additional or feature key
300 Internal exception with problem description
400 Incorrect authorization info format
410 Incorrect key number format: “<key number>

XML Examples

Request message

<?xml version='1.0'?>
<methodCall>
   <methodName>partner10.detachKey</methodName>
   <params>
      <param>
         <value>
            <struct>
               <member>
                  <name>login</name>
                  <value>
                     <string>API_LOGIN</string>
                  </value>
               </member>
               <member>
                  <name>password</name>
                  <value>
                     <string>API_PASSWORD</string>
                  </value>
               </member>
            </struct>
         </value>
      </param>
      <param>
         <value>
            <string>PLSK.00772083</string>
         </value>
      </param>
   </params>
</methodCall>

Response message

<?xml version="1.0"?>
<methodResponse>
   <params>
      <param>
         <value>
            <struct>
               <member>
                  <name>resultCode</name>
                  <value>
                     <int>100</int>
                  </value>
               </member>
               <member>
                  <name>resultDesc</name>
                  <value>Additional key PLSK.00772083.0000 has been successfully detached from PLSK.00772082.0002</value>
               </member>
            </struct>
         </value>
      </param>
   </params>
</methodResponse>