AlterSearchLib

更新时间:
复制 MD 格式

Modifies a search library.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

SearchLibName

string

Yes

The search library.

test1

SearchLibConfig

string

No

The configuration of the search library. The value must be a JSON string. The faceGroupIds field specifies the IDs of custom face libraries. These libraries are created by the CreateRecognitionLib operation. You can specify up to three library IDs. Separate multiple IDs with commas (,).

  • faceGroupIds: The IDs of up to three self-registered face groups, separated by commas (,). The CreateRecognitionLib operation generates these IDs.

{"faceGroupIds":"xxx1,xxx2,xx3"}

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

The request ID.

******11-DB8D-4A9A-875B-275798******

Success

string

Indicates whether the call succeeded. Valid values:

  • true: The call succeeded.

  • false: The call failed.

true

Code

string

The return code.

200

SearchLibName

string

The name of the search library.

test1

Examples

Success response

JSON format

{
  "RequestId": "******11-DB8D-4A9A-875B-275798******",
  "Success": "true",
  "Code": "200",
  "SearchLibName": "test1"
}

Error codes

See for a complete list.

Release notes

See Release Notes for a complete list.