Update a knowledge base datasource description
PUT/ai/knowledgebases/:id/resources/:resource_id
Updates only the Description of an existing datasource. Requires editor access. Unstructured sources are updated in Bedrock and DynamoDB; structured sources are updated in DynamoDB only. resource_id is the Bedrock SourceId for unstructured sources, or ResourceKey for structured sources.
Request
Responses
- 200
- 400
- 500
Datasource description updated. Returns Message and SourceId.
Response Headers
Access-Control-Allow-Origin
Access-Control-Allow-Methods
Access-Control-Allow-Headers
Input validation or authorization failure. Body is {"Message": " -
Response Headers
Access-Control-Allow-Origin
Access-Control-Allow-Methods
Access-Control-Allow-Headers
Backend failure. Body is {"Message": " -
Response Headers
Access-Control-Allow-Origin
Access-Control-Allow-Methods
Access-Control-Allow-Headers