WGDashboard Documentation Help

Delete Peer Schedule Job

Delete peer schedule job

Request

POST /api/deletePeerScheduleJob/

Body Parameter

{ "Job": { "Action": "restrict", "Configuration": "wg88", "CreationDate": "2024-09-29 07:59:37", "ExpireDate": null, "Field": "total_data", "JobID": "d66d3f41-c0ec-48ef-a2b7-cbb74e58263f", "Operator": "lgt", "Peer": "YI5GNeKSeiMd1mmZKqWo9RDUIB4Ao3IfGdoDeguAUR4=", "Value": "32" } }

Response

{ "data": [], "message": null, "status": true }

If Job is blank

{ "data": null, "message": "Please specify job", "status": false }

If Configuration does not exist

{ "data": null, "message": "Please specify peer and configuration", "status": false }

If Please specify peer and configuration does not exist

{ "data": null, "message": "Peer does not exist", "status": false }
Last modified: 29 September 2024