apicheats.dev Cheat sheet Raw .md
PATCH

Try PATCH /orgs/{org}/issue-fields/{issue_field_id} — GitHub API

GitHub playground

Update issue field for an organization

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

4 body fields
  • name · optional · string — Name of the issue field.
  • description · optional · string — Description of the issue field.
  • visibility · optional · string — The visibility of the issue field. Can be `organization_members_only` (visible only within the organization) or `all` (visible to all users who can see issues). Only used when the visibility settings feature is enabled.
  • options · optional · object[] — Options for select fields. Only applicable when updating single_select or multi_select fields. When provided, this array **replaces** the entire existing set of options rather than adding to or updating individual options. To retain or update an existing option, include it in the array with its `id`. Options sent without an `id` are treated as new options and may cause existing options to be deleted and recreated.