campaigns
Delete a campaign for an organization
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.
delete/orgs/{org}/campaigns/{campaign_number}
Request
- Base URL: https://api.github.com
- URL: https://api.github.com/orgs/{org}/campaigns/{campaign_number}
- Auth: none declared
Path parameters
orgstring required
The organization name. The name is not case sensitive.
campaign_numberinteger required
The campaign number.
Response
Deletion successful
Changes
No recorded changes to this operation across all 83 revisions of this API.