API Keys

Update attributes

Update attributes of a key.

Note: Requires administrator permissions.

put/_api/key/{keyid}/attributes

Request

Path parameters

keyidstring string required

The id of the API key.

Request body

key1string string

Attribute key-value.

key2string string

Attribute key-value.

Example request

{
  "key1": "value1",
  "key2": "value2"
}

Response

Successfully changed attributes.

codeinteger

HTTP response code.

errorboolean

Flag if there is an error in response. False for this response.

Example response

{
  "code": 200,
  "result": {
    "key1": "value1",
    "key2": "value2"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.