Submits a job of deleting media files from a media fingerprint library.
Operation description
Limits
- You can call this operation to delete up to 200 media files from a media fingerprint library at a time.
- This operation is available in the following regions: China (Beijing), China (Hangzhou), China (Shanghai), and Singapore.
QPS limits
You can call this operation up to 10 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation. For more information, see QPS limits.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
mts:SubmitFpFileDeleteJob |
|
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
PipelineId | string | No | The ID of the ApsaraVideo Media Processing (MPS) queue to which the job is submitted. The MPS queue is bound with a notification method. To view the MPS queue ID, log on to the MPS console and choose Global Settings > MPS queue and Callback in the left-side navigation pane. | ed450ea0bfbd41e29f80a401fb4d**** |
FpDBId | string | Yes | The ID of the media fingerprint library. You can obtain the library ID from the response parameters of the CreateFpShotDB operation. | 88c6ca184c0e432bbf5b665e2a15**** |
UserData | string | No | The custom data. The value can contain letters and digits and can be up to 128 bytes in length. | example data |
FileIds | string | No | The IDs of the media files that you want to delete. Separate multiple file IDs with commas (,). You can delete up to 200 media files at a time. You can obtain media file IDs from the response parameters of the ListFpShotFiles operation. | 41e6536e4f2250e2e9bf26cdea19**** |
PrimaryKeys | string | No | The primary keys of the files to be deleted. Separate multiple primary keys with commas (,). You can delete up to 200 primary keys at a time. You can obtain the primary keys of media files from the response parameters of the ListFpShotFiles operation. Note
This parameter is available only in the China (Beijing), China (Hangzhou), and China (Shanghai) regions.
| 24e0fba7188fae707e146esa54**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "D127C68E-F1A1-4CE5-A874-8FF724881A12",
"JobId": "39f8e0bc005e4f309379701645f4****"
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
400 | InvalidParameter.DBNotExist | The DNA database does not exist. |
500 | InternalError | The operation has failed due to some unknown error, exception or failure. |
For a list of error codes, visit the Service error codes.