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