All Products
Search
Document Center

Intelligent Media Services:AlterSearchLib

Last Updated:Jan 28, 2026

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, in JSON string format. The fields include the following:

  • faceGroupIds: The IDs of custom face recognition libraries. You can create these libraries by calling the CreateRecognitionLib operation. You can specify up to three library IDs, separated by commas (,).

{"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 was successful.

  • true: The call was successful.

  • false: The call failed.

true

Code

string

The status 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 Error Codes for a complete list.

Release notes

See Release Notes for a complete list.