POST
/
v0
/
custom_endpoint
/
rename
curl --request POST \
  --url 'https://api.unify.ai/v0/custom_endpoint/rename?name=name1&new_name=name2' \
  --header "Authorization: Bearer $UNIFY_KEY"
{
    "info": "Custom endpoint renamed successfully!"
}
Renames a custom endpoint 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 endpoint to be updated.
new_name
string
required
New name for the custom endpoint.
curl --request POST \
  --url 'https://api.unify.ai/v0/custom_endpoint/rename?name=name1&new_name=name2' \
  --header "Authorization: Bearer $UNIFY_KEY"
{
    "info": "Custom endpoint renamed successfully!"
}