POST
/
v0
/
custom_api_key
/
rename
curl --request POST \
  --url 'https://api.unify.ai/v0/custom_api_key/rename?name=key1&new_name=key2' \
  --header "Authorization: Bearer $UNIFY_KEY"
{
    "info": "API key renamed successfully!"
}
Renames the custom API key in your account.

Authorizations

Authorization
string
required
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

name
string
required
Name of the custom API key to be updated.
new_name
string
required
New name for the custom API key.
curl --request POST \
  --url 'https://api.unify.ai/v0/custom_api_key/rename?name=key1&new_name=key2' \
  --header "Authorization: Bearer $UNIFY_KEY"
{
    "info": "API key renamed successfully!"
}