DeletePolarClawCronJob

Updated at:
Copy as MD

Deletes a PolarClaw cron job.

Operation description

Description

To delete a PolarClaw cron job, provide its ApplicationId and JobId. Ensure that the IDs are correct to prevent accidental deletion of other jobs.

Note: This operation is irreversible. Proceed with caution.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

ApplicationId

string

Yes

The application ID.

pa-**************

JobId

string

Yes

The ID of the cron job to delete.

0ee00f56-f467-4d41-858c-ca4ede2c770e

Restart

boolean

No

Specifies whether to restart the gateway after the cron job is deleted. The default value is true.

true

Response elements

Element

Type

Description

Example

object

The data returned.

RequestId

string

The request ID.

2281C6C9-CBAB-1AFD-8400-670750CF6025_2212

Message

string

The response message.

successful

Code

integer

The status code.

200

ApplicationId

string

The application ID.

pa-**************

Ok

boolean

Indicates whether the operation was successful.

true

JobId

string

The ID of the deleted cron job.

8006e51c-dab3-4602-bc69-4f728002c6ce

Removed

boolean

Indicates whether a matching cron job was found and deleted.

true

Examples

Success response

JSON format

{
  "RequestId": "2281C6C9-CBAB-1AFD-8400-670750CF6025_2212",
  "Message": "successful",
  "Code": 200,
  "ApplicationId": "pa-**************",
  "Ok": true,
  "JobId": "8006e51c-dab3-4602-bc69-4f728002c6ce",
  "Removed": true
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.