cURL
curl --request PATCH \ --url https://apigcp.trynia.ai/v2/repositories/{repository_id}/rename \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "new_name": "<string>" }'
{ "success": true, "repository_id": "<string>", "display_name": "<string>", "message": "<string>" }
Update the display name of an indexed repository
API key must be provided in the Authorization header
The ID of the repository to rename
Repository renamed successfully
The response is of type object.
object