DisablePolarClawCronJob

Updated at:
Copy as MD

Disables a PolarClaw cron job.

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 ID of the application.

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

JobId

string

Yes

The ID of the cron job to disable.

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

Restart

boolean

No

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

true

Response elements

Element

Type

Description

Example

object

The response object.

RequestId

string

The ID of the request.

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

Message

string

The response message.

successful

Code

integer

The response status code.

200

ApplicationId

string

The ID of the application.

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

Ok

boolean

Indicates whether the operation was successful. A value of true indicates success.

true

JobId

string

The ID of the disabled job.

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

Examples

Success response

JSON format

{
  "RequestId": "2281C6C9-CBAB-1AFD-8400-670750CF6025_2212",
  "Message": "successful",
  "Code": 200,
  "ApplicationId": "pa-**************",
  "Ok": true,
  "JobId": "0ee00f56-f467-4d41-858c-ca4ede2c770e"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.