.. _key_key: key key ======= Configure a key key Specification ----------------- ===================================== =============================================================================================== **Parameter** **Value** ===================================== =============================================================================================== **Type** *Collection* **Object Key(s)** *key-number* **Collection Name** :ref:`2208_key_list` **Collection URI** /axapi/v3/key/{key-chain-flag}+{key-chain-name}/key **Element Name** key **Element URI** /axapi/v3/key/{key-chain-flag}+{key-chain-name}/key/{key-number} **Element Attributes** key_attributes **Partition Visibility** shared **Schema** :download:`key schema <key-key/key-key.txt>` ===================================== =============================================================================================== **Operations Allowed:** .. raw:: html <script type="text/javascript"> function showExample(a,b) { document.getElementById(a+'_div').style.display = 'block'; document.getElementById(a+'_cl').style.display = 'block'; document.getElementById(a+'_eg').style.display = 'none';} function closeExample(a,b) { document.getElementById(a+'_div').style.display = 'none'; document.getElementById(a+'_cl').style.display = 'none'; document.getElementById(a+'_eg').style.display = 'block';} </script> <table width='90%' style='margin-left:5%'> .. raw:: html <tr style='border-bottom: thin solid; border-top: thin solid'><th width=15%>Operation</th><th width=10%>Method</th><th>URI</th><th width=15%>Payload</th><th width=10%></th></tr> .. raw:: html <tr style='border-bottom: thin solid;'><td valign = 'top'> Create Object .. raw:: html </td><td valign = 'top'> POST .. raw:: html </td><td valign = 'top'> /axapi/v3/key/{key-chain-flag}+{key-chain-name}/key .. raw:: html </td><td valign = 'top'> :ref:`2208_key_attributes` .. raw:: html </td><td></td></tr> .. raw:: html <tr style='border-bottom: thin solid;'><td valign = 'top'> Create List .. raw:: html </td><td valign = 'top'> POST .. raw:: html </td><td valign = 'top'> /axapi/v3/key/{key-chain-flag}+{key-chain-name}/key .. raw:: html </td><td valign = 'top'> :ref:`2208_key_attributes` .. raw:: html </td><td></td></tr> .. raw:: html <tr style='border-bottom: thin solid;'><td valign = 'top'> Get Object .. raw:: html </td><td valign = 'top'> GET .. raw:: html </td><td valign = 'top'> /axapi/v3/key/{key-chain-flag}+{key-chain-name}/key/{key-number} .. raw:: html </td><td valign = 'top'> :ref:`2208_key_attributes` .. raw:: html </td><td></td></tr> .. raw:: html <tr style='border-bottom: thin solid;'><td valign = 'top'> Get List .. raw:: html </td><td valign = 'top'> GET .. raw:: html </td><td valign = 'top'> /axapi/v3/key/{key-chain-flag}+{key-chain-name}/key .. raw:: html </td><td valign = 'top'> :ref:`2208_key_list` .. raw:: html </td><td></td></tr> .. raw:: html <tr style='border-bottom: thin solid;'><td valign = 'top'> Modify Object .. raw:: html </td><td valign = 'top'> POST .. raw:: html </td><td valign = 'top'> /axapi/v3/key/{key-chain-flag}+{key-chain-name}/key/{key-number} .. raw:: html </td><td valign = 'top'> :ref:`2208_key_attributes` .. raw:: html </td><td></td></tr> .. raw:: html <tr style='border-bottom: thin solid;'><td valign = 'top'> Replace Object .. raw:: html </td><td valign = 'top'> PUT .. raw:: html </td><td valign = 'top'> /axapi/v3/key/{key-chain-flag}+{key-chain-name}/key/{key-number} .. raw:: html </td><td valign = 'top'> :ref:`2208_key_attributes` .. raw:: html </td><td></td></tr> .. raw:: html <tr style='border-bottom: thin solid;'><td valign = 'top'> Replace List .. raw:: html </td><td valign = 'top'> PUT .. raw:: html </td><td valign = 'top'> /axapi/v3/key/{key-chain-flag}+{key-chain-name}/key .. raw:: html </td><td valign = 'top'> :ref:`2208_key_list` .. raw:: html </td><td></td></tr> .. raw:: html <tr style='border-bottom: thin solid;'><td valign = 'top'> Delete Object .. raw:: html </td><td valign = 'top'> DELETE .. raw:: html </td><td valign = 'top'> /axapi/v3/key/{key-chain-flag}+{key-chain-name}/key/{key-number} .. raw:: html </td><td valign = 'top'> :ref:`2208_key_attributes` .. raw:: html </td><td></td></tr> .. raw:: html </table> .. _2208_key_list: key-list -------- key-list is **JSON List** of :ref:`2208_key_attributes` key-list : [ { :ref:`2208_key_attributes` }, { :ref:`2208_key_attributes` }, ... ] .. _2208_key_attributes: key attributes -------------- **key-number** **Description** Key identifier number **Type:** number **Range:** 1-255 **key-string** **Description** Set key string (The key) **Type:** string **Maximum Length:** 128 characters **Maximum Length:** 1 characters **user-tag** **Description** Customized tag **Type:** string **Format:** string-rlx **Maximum Length:** 127 characters **Maximum Length:** 1 characters **uuid** **Description** uuid of the object **Type:** string **Maximum Length:** 64 characters **Maximum Length:** 1 characters