Delete Attack discovery schedule Technical Preview; added in 9.2.0

View as Markdown
DELETE /api/attack_discovery/schedules/{id}

Spaces method and path for this operation:

delete /s/{space_id}/api/attack_discovery/schedules/{id}

Refer to Spaces for more information.

Permanently deletes an Attack discovery schedule and all associated configuration. Technical preview

Path parameters

  • id string(nonempty) Required

    The unique identifier (UUID) of the Attack Discovery schedule to delete. This ID is returned when creating a schedule and can be found in schedule listings.

    Minimum length is 1.

Responses

  • 200 application/json

    Successfully deleted Attack Discovery schedule, returning the ID of the deleted schedule for confirmation

    Hide response attribute Show response attribute object
    • id string(nonempty) Required

      A string that does not contain only whitespace characters.

      Minimum length is 1.

  • 400 application/json

    Generic Error

    Hide response attributes Show response attributes object
    • error string

      Error type

    • message string

      Human-readable error message describing what went wrong

    • status_code number

      HTTP status code

DELETE /api/attack_discovery/schedules/{id}
curl \
 --request DELETE 'http://localhost:5601/api/attack_discovery/schedules/12345678-1234-1234-1234-123456789012' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json"
Response examples (200)
{
  "id": "12345678-1234-1234-1234-123456789012"
}
Response examples (400)
{
  "error": "Bad Request",
  "message": "Invalid request parameters",
  "status_code": 400
}