apicheats.dev Cheat sheet Raw .md
PATCH

Try PATCH /orgs/{org}/campaigns/{campaign_number} — GitHub API

GitHub playground

Update a campaign

Credentials

Kept in this tab only. Requests go through apicheats.dev's same-origin proxy straight to api.github.com; the proxy stores and logs nothing about them.

Headers

Path

Body application/json

7 body fields
  • name · optional · string — The name of the campaign
  • description · optional · string — A description for the campaign
  • managers · optional · string[] — The logins of the users to set as the campaign managers. At this time, only a single manager can be supplied.
  • team_managers · optional · string[] — The slugs of the teams to set as the campaign managers.
  • ends_at · optional · string — The end date and time of the campaign, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.
  • contact_link · optional · string — The contact link of the campaign. Must be a URI.
  • state · optional · string — Indicates whether a campaign is open or closed