Removes a data source from an OpenSearch application. The application must be in the <code>ACTIVE</code> state. This operation removes the data source saved object from the application and deletes the attachment record. Throws a <code>ConflictException</code> if the specified data source has a <code>PENDING</code> attachment, and a <code>ResourceNotFoundException</code> if the data source is not currently attached to the application.
post/2021-01-01/opensearch/application/{id}/detachDataSource
Path parameters
idstring required
The unique identifier or name of the OpenSearch application to detach the data source from.
Request body
Response
Success