Session_ModifyCustomAttributes
This API modifies the attributes of a key.
URL
./Session_ModifyCustomAttributes
Input Parameters
Parameters | Description |
---|---|
keyName | Name of the key for which attributes are to be modified. |
Attribute | List of attribute names and values. The type parameter lets you optionally specify the type for attribute. The default attribute type is String. The supported attribute types are: — Date/Time — Byte String — Integer — Long Integer — Big Integer — String — Interval — Enumeration — Boolean |
Sample SOAP Parameters
<prot:Session_ModifyCustomAttributes>
<KeyName>testaeskey</KeyName>
<!--1 or more repetitions:-->
<Attribute>
<name>k1</name>
<value>123467</value>
<!--Optional:-->
<type>Integer</type>
</Attribute>
<Attribute>
<name>k2</name>
<value>7468616c657367656d616c746f</value>
<!--Optional:-->
<type>Byte String</type>
</Attribute>
</prot:Session_ModifyCustomAttributes>
Output
<ns2:Session_ModifyCustomAttributesResponse xmlns:ns2="http://dsws.org/protectappws/">Attributes added successfully.</ns2:Session_ModifyCustomAttributesResponse>
Note
The list of attributes that we get in response is comma separated so any attribute (name and value) having special characters (particularly , and {} and “” and =) will be displayed as it is and will make the attribute difficult to read. So, it is recommended NOT to use special characters (particularly , and {} and “” and =) in the input.