Updated on 2026-11-03 GMT+08:00

Modifying Dump Task Quotas

Function

This API is used to modify dump task quotas.

You can call this API to increase the dump task quota for instances created before September 2022. For instances created in September 2022 or later, the dump task quota is already the maximum by default. An error is reported when you call this API to modify the dump task quota, because the dump 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 dump task quotas

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

{
  "sink_max_tasks" : 9
}

Example Response

None

Status Code

Status Code

Description

204

Dump task quotas are modified.

Error Code

See Error Codes.