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
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>"
}API key must be provided in the Authorization header
The ID of the repository to rename
New display name for the resource
1 - 100Was this page helpful?