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