cURL
curl --request PATCH \ --url https://apigcp.trynia.ai/v2/data-sources/rename \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "identifier": "<string>", "new_name": "<string>" } '
{ "success": true, "source_id": "<string>", "display_name": "<string>", "message": "<string>" }
Update the display name of an indexed data source using flexible identifier (recommended)
API key must be provided in the Authorization header
Flexible data source identifier. Can be:
New display name for the resource
1 - 100
Data source renamed successfully
Was this page helpful?