Removes an item from a collection.
HTTP request
POST https://visionai.googleapis.com/v1/{item.collection=projects/*/locations/*/corpora/*/collections/*}:removeCollectionItem
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
item.collection |
Required. The collection name that this item belongs to. Format: |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"item": {
"collection": string,
"type": enum ( |
Fields | |
---|---|
item.type |
Required. The type of item. |
item.itemResource |
Required. The name of the CollectionItem. Its format depends on the |
Response body
Request message for collections.removeCollectionItem.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"item": {
object ( |
Fields | |
---|---|
item |
The item that has already been removed. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.