apicheats.dev Cheat sheet Raw .md
PUT

Try PUT /orgs/{org}/properties/schema/{custom_property_name} — GitHub API

GitHub playground

Create or update a custom property 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

7 body fields
  • value_type · required · string — The type of the value for the property
  • required · optional · boolean — Whether the property is required.
  • default_value · optional · string — Default value of the property
  • description · optional · string — Short description of the property
  • allowed_values · optional · string[] — An ordered list of the allowed values of the property. The property can have up to 200 allowed values.
  • values_editable_by · optional · string — Who can edit the values of the property
  • require_explicit_values · optional · boolean — Whether setting properties values is mandatory