Submits a job to delete or purge a DNA library.
Operation description
This operation purges or deletes a DNA library by its ID. You can choose one of two operations: Purge or Delete. The Purge operation removes all content from the DNA library but preserves the library. The Delete operation permanently removes the library. If you do not specify an operation type, Purge is used by default. Note that fingerprint libraries with a modelId from 11 to 14 support only the Delete operation.
QPS limit
The rate limit for this operation is 100 queries per second (QPS) per user. If you exceed this limit, your API calls will be throttled, which may affect your business. For more information, see QPS limits.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mts:SubmitFpDBDeleteJob |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PipelineId |
string |
No |
The ID of the ApsaraVideo Media Processing (MPS) pipeline for the job. MPS uses this ID to send message notifications. You can obtain the pipeline ID in the MPS console by navigating to Global Settings > Pipelines. |
fb712a6890464059b1b2ea7c8647**** |
| FpDBId |
string |
Yes |
The API call to create a DNA library returns this ID in its response. |
88c6ca184c0e47098a5b665e2a12**** |
| UserData |
string |
No |
The user-defined data. The value can be a string of up to 128 bytes. |
example data |
| DelType |
string |
No |
The type of operation. Valid values:
|
Purge |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The ID of the request. |
4247B23C-26DE-529F-8D9F-FD6811AE979B |
| JobId |
string |
The ID of the submitted job. We recommend that you save this ID for subsequent API calls. |
d98459323c024947a104f6a50cbf**** |
Examples
Success response
JSON format
{
"RequestId": "4247B23C-26DE-529F-8D9F-FD6811AE979B",
"JobId": "d98459323c024947a104f6a50cbf****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | The operation has failed due to some unknown error, exception or failure. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.