Delete a graph library

Updated at:

You can call this operation to delete a specified similarity gallery.

Usage notes

API operation: /green/similarity/library/delete

Note You can delete a similarity gallery only if it contains no image samples.

For information about how to structure an HTTP request, see Request structure. You can also use an SDK. For more information, see SDK overview.

QPS limit

The queries per second (QPS) limit for this API is 10 per user. Exceeding this limit triggers throttling, which can impact your business. Plan your calls accordingly.

Request parameters

For information about common request parameters, see Common parameters.

The request body is a JSON object. The following table describes the fields.

NameTypeRequiredExampleDescription
nameStringYesxxxxThe name of the graph store to delete.

Response data

For information about response parameters, see Response parameters.

The `data` field in the response body is a JSON array where each element contains the following fields:

NameTypeExampleDescription
codeInteger200

The error code. It is the same as the HTTP status code.

For more information, see Common error codes.

msgStringOKThe message returned in response to the request.
requestIdString33921869-CF8A-4E62-8C31-44F37341FFC1The ID of the request.

Examples

Sample request

http(s)://[Endpoint]/green/similarity/library/delete
&<Common request parameters>
{
  "name": "xxxx"
}

Sample response

{
  "msg": "OK", 
  "code": 200, 
  "requestId": "33921869-CF8A-4E62-8C31-44F37341FFC1"
}