Delete a Source.
The source must not have any remaining documents or running jobs. Use ClearSource to delete all documents for a source.
Path Parameters
The ID of the corpus owning the source to delete.
The ID of the source to delete.
Query Parameters
Typically a source must be cleared before it can be deleted. If "force" is set to true, the source will be deleted regardless. This could have a negative impact on query results, but is generally safe in practice.
- 200
- default
OK
Default error response
Schema
- Array [
- ]
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
details object[]
A list of messages that carry the error details. There is a common set of message types for APIs to use.
The type of the serialized message.
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}