Skip to main content
POST
/
enterprise
/
schedule
/
tasks
/
delete
Delete schedule task
curl --request POST \
  --url https://apigw.bienport.com/api/enterprise/schedule/tasks/delete \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --header 'OrganizationId: <organizationid>' \
  --data '{
  "taskName": "testTask",
  "taskType": 2,
  "taskDates": [
    "<string>"
  ],
  "notificationOptions": {
    "channels": [
      "<string>"
    ],
    "audience": [
      "<string>"
    ],
    "userId": 12343123
  },
  "selection": "1",
  "resources": [
    123
  ],
  "users": [
    123
  ],
  "combinedData": [
    "<string>"
  ],
  "taskId": 100,
  "userType": "regular"
}'
{
  "message": "<string>",
  "success": true
}

Headers

Authorization
string
required

Access Token

OrganizationId
string
required

Organization ID

Body

application/json

scheduleTaskRequest

Schedule Task Request Api Model

taskName
string

Task Name

Example:

"testTask"

taskType
integer

Task Type

Example:

2

taskDates
string[]

Task Dates

notificationOptions
object

Notification Options Api Model

selection
string

Selection

Example:

"1"

resources
integer[]

Resources

users
integer[]

Users

combinedData
string[]

Combined Data

taskId
integer

Task Id

Example:

100

userType
string

User Type

Example:

"regular"

Response

Delete schedule task response.

SuccessResult Api Model

message
string
success
boolean