Deleting a Checkpoint¶
Function¶
This API is used to delete a checkpoint.
Calling Method¶
For details, see Calling APIs.
URI¶
DELETE /v2/{project_id}/checkpoints
Parameter | Mandatory | Type | Description |
---|---|---|---|
project_id | Yes | String | Project ID |
Parameter | Mandatory | Type | Description |
---|---|---|---|
stream_name | Yes | String | Name of the stream to which the checkpoint belongs |
app_name | Yes | String | Name of the application associated with the checkpoint. Minimum: 1 Maximum: 50 |
checkpoint_type | Yes | String | Type of the checkpoint.
Enumeration values:
|
partition_id | No | String | Identifier of the stream partition to which the checkpoint belongs.Two partition ID formats are available:- shardId-0000000000- 0For example, if a stream has three partitions, the partition IDs are 0, 1, and 2, or shardId-0000000000, shardId-0000000001, and shardId-0000000002. |
Request Parameters¶
Parameter | Mandatory | Type | Description |
---|---|---|---|
X-Auth-Token | Yes | String | User token. It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token. |
Response Parameters¶
None
Example Requests¶
Deleting a Checkpoint
DELETE https://{Endpoint}/v2/{project_id}/checkpoints
Example Responses¶
None
Status Codes¶
Status Code | Description |
---|---|
204 | Normal response |
Error Codes¶
See Error Codes.