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
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Name of the custom API key to be updated.
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!"
}