A P I Keys

putApikeysId

PUT
/apikeys/{id}

Update an API key, which represents a permanent method of authentication to the API. Each API key remains active until you mark it as inactive or delete it.

Authorization

APIKEY<token>

In: header

Path Parameters

id*string

The ID of this resource and The API Key ID.

Header Parameters

token?string

A single-use, limited authentication layer in addition to an API Key or Session Key to authorize sensitive operations. Auth Tokens add security by requiring one-time approval for specific actions.

request-token?string

A custom, one-time identifier for any API request (GET, PUT, POST, or DELETE). Blocks future requests with the same token for 48 hours, ensuring only the first request is processed. Valid values can contain 1-100 alphanumeric and special characters. See Request Tokens for more information.

Request Body

application/json

Update API Key Request

Update API Key Request

name?string

The name for the key. An apikey may represent a private (secret) key code that is used internally (server-side) by the application authenticating to the API.

A private key should never be exposed to external/untrusted entities and should be immediately deactivated if compromised. All API resources and actions can be accessed/performed with a private apikey.

description?string

Description of ApiKeys.

token?apikeysToken

Whether or not an AuthToken is required as part of the authentication when this Apikey is used.

  • 0 - The authToken mechanism is disabled.
  • 1 - The authToken mechanism is required for 'POST' and 'DELETE' requests.

Value in

  • 0
  • 1
inactive?inactive

Whether this resource is marked as inactive.

  • 0 - Active
  • 1 - Inactive

Value in

  • 0
  • 1
frozen?frozen

Whether this resource is marked as frozen.

  • 0 - Not Frozen
  • 1 - Frozen

Value in

  • 0
  • 1

Response Body

application/json

application/json

curl -X PUT "https://example.com/apikeys/t1_api_676a5353d67a6df2c47b198" \  -H "Content-Type: application/json" \  -d '{    "created": "2024-12-24 01:23:15.8882",    "modified": "2024-12-24 01:23:15.8882",    "creator": "t1_log_651fec1e202e349386ba321",    "modifier": "t1_log_651fec1e202e349386ba321",    "login": "t1_log_651fec1e202e349386ba321",    "key": "f0d9fd14f9795590c01dd2c8083a35d7",    "name": "api",    "description": "API KEYS",    "public": 0,    "inactive": 0,    "frozen": 0,    "token": 0  }'
{  "response": {    "data": [      {        "id": "t1_api_676a5353d67a6df2c47b198",        "created": "2024-12-24 01:23:15.8882",        "modified": "2024-12-24 01:23:15.8882",        "creator": "t1_log_651fec1e202e349386ba321",        "modifier": "t1_log_651fec1e202e349386ba321",        "login": "t1_log_651fec1e202e349386ba321",        "key": "f0d9fd14f9795590c01dd2c8083a35d7",        "name": "api",        "description": "API KEYS",        "public": 0,        "inactive": 0,        "frozen": 0,        "token": 0      }    ],    "details": {      "requestId": 1,      "totals": [],      "page": {        "current": 1,        "last": 1,        "hasMore": false      }    },    "errors": []  }}