Delete a campaign for an organization
DELETE
/orgs/{org}/campaigns/{campaign_number}
Deletes a campaign in an organization.
The authenticated user must be an owner or security manager for the organization to use this endpoint.
OAuth app tokens and personal access tokens (classic) need the security_events scope to use this endpoint.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ” org
required
string
The organization name. The name is not case sensitive.
campaign_number
required
integer
The campaign number.
Responses
Section titled “ Responses ”Deletion successful
Resource not found
Media type application/json
Basic Error
Basic Error
object
message
string
documentation_url
string
url
string
status
string
Example generated
{ "message": "example", "documentation_url": "example", "url": "example", "status": "example"}Service unavailable
Media type application/json
object
code
string
message
string
documentation_url
string
Example generated
{ "code": "example", "message": "example", "documentation_url": "example"}