Skip to main content
PUT
/
admin
/
org
/
keys
/
{keyId}
Update key.
curl --request PUT \
  --url https://{tenant}/admin/org/keys/{keyId} \
  --header 'Admin-Auth: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "access_rights": {},
  "alias": "<string>",
  "allowance": 123,
  "apply_policies": [
    "<string>"
  ],
  "apply_policy_id": "<string>",
  "basic_auth_data": {
    "hash_type": "<string>",
    "password": "<string>",
    "user": "<string>"
  },
  "certificate": "<string>",
  "data_expires": 123,
  "date_created": "2023-11-07T05:31:56Z",
  "enable_detailed_recording": true,
  "expires": 123,
  "hmac_enabled": true,
  "hmac_string": "<string>",
  "id_extractor_deadline": 123,
  "is_inactive": true,
  "jwt_data": {
    "secret": "<string>"
  },
  "key_id": "<string>",
  "last_check": 123,
  "last_updated": "<string>",
  "max_query_depth": 123,
  "meta_data": "<unknown>",
  "monitor": {
    "trigger_limits": [
      123
    ]
  },
  "oauth_client_id": "<string>",
  "oauth_keys": {},
  "org_id": "<string>",
  "per": 123,
  "quota_max": 123,
  "quota_remaining": 123,
  "quota_renewal_rate": 123,
  "quota_renews": 123,
  "rate": 123,
  "session_lifetime": 123,
  "smoothing": {
    "delay": 123,
    "enabled": true,
    "step": 123,
    "threshold": 123,
    "trigger": 123
  },
  "tags": [
    "<string>"
  ],
  "throttle_interval": 123,
  "throttle_retry_limit": 123
}
'
{
  "ID": "<string>",
  "Message": "<string>",
  "Meta": "<unknown>",
  "Status": "<string>"
}

Authorizations

Admin-Auth
string
header
required

Api key

Path Parameters

keyId
string
required

The ID of the key.

Body

application/json
access_rights
object
alias
string
allowance
number<double>
apply_policies
string[] | null
apply_policy_id
string
basic_auth_data
object
certificate
string
data_expires
integer<int64>
date_created
string<date-time>
enable_detailed_recording
boolean
expires
integer<int64>
hmac_enabled
boolean
hmac_string
string
id_extractor_deadline
integer<int64>
is_inactive
boolean
jwt_data
object
key_id
string
last_check
integer<int64>
last_updated
string
max_query_depth
integer
meta_data
any
monitor
object
oauth_client_id
string
oauth_keys
object
org_id
string
per
number<double>
quota_max
integer<int64>
quota_remaining
integer<int64>
quota_renewal_rate
integer<int64>
quota_renews
integer<int64>
rate
number<double>
session_lifetime
integer<int64>
smoothing
object
tags
string[] | null
throttle_interval
number<double>
throttle_retry_limit
integer

Response

Key updated

ID
string
Message
string
Meta
any
Status
string