Updated on 2026-01-05 GMT+08:00

Modifying Dumping Task Quotas

Function

This API is used to modify dumping task quotas.

You can call this API to increase the dumping task quota for instances created before September 2022. For instances created in September 2022 or later, the dumping task quota is already the maximum by default. An error is reported when you call this API to modify the dumping task quota, because the dumping task quota cannot be reduced.

Call Method

For details, see How to Call an API.

URI

PUT /v2/{project_id}/connectors/{connector_id}/sink-tasks

Table 1 URI parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID. For details, see Obtaining a Project ID.

connector_id

Yes

String

Instance dump ID.

For details, see Querying Instance IDs.

Request Parameters

Table 2 Request body parameter

Parameter

Mandatory

Type

Description

sink_max_tasks

Yes

Integer

Total number of dump tasks.

Response Parameters

None

Example Requests

Modifying dumping task quotas.

PUT https://{endpoint}/v2/{project_id}/connectors/{connector_id}/sink-tasks

{
  "sink_max_tasks" : 9
}

Example Response

None

Status Codes

Status Code

Description

204

Dumping task quotas are modified successfully.

Error Codes

See Error Codes.