PATCH
/
data-sources
/
{source_id}
/
rename
Rename a data source
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>"
}

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Path Parameters

source_id
string
required

The ID of the data source to rename

Body

application/json

Response

200
application/json

Data source renamed successfully

The response is of type object.