Skip to main content
PATCH
https://api.keywordsai.co
/
api
/
temporary-keys
/
{temporary_api_key_id}
Update API key
curl --request PATCH \
  --url 'https://api.keywordsai.co/api/temporary-keys/{{temporary_api_key_id}}/' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "expiry_date": "<string>",
  "is_test": true,
  "prefix": "<string>"
}
'
You can update a temporary API key by sending a PUT request to the temporary keys endpoint.

Path parameters

temporary_api_key_id
string
The ID of the temporary API key to update.

Body

name
string
The name of the temporary API key.
expiry_date
string
The expiry date of the temporary API key.
is_test
boolean
Is this a test key or a prod key
prefix
string
The prefix of the temporary API key.