跳转到主要内容
POST
/
schedule
/
delete
删除值班表
curl --request POST \
  --url 'https://api.flashcat.cloud/schedule/delete?app_key=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "scheudle_ids": [
    1
  ]
}
'
{
  "error": {
    "code": "<string>",
    "message": "<string>"
  },
  "data": {
    "refs": [
      {
        "kind": "schedule",
        "href": "<string>",
        "name": "<string>"
      }
    ]
  }
}

授权

app_key
string
query
必填

请求体

application/json
schedule_ids
integer[]
必填

响应

200 - application/json
error
object

错误信息,仅失败时存在

data
object

仅code=ReferenceExist时存在