provider orgs PUT
/orgs/{org}/properties/schema/{custom_property_name} @utdk/github
/orgs/{org}/properties/schema/{custom_property_name} Create or update a custom property for an organization
Creates a new or updates an existing custom property that is defined for an organization.
To use this endpoint, the authenticated user must be one of:
- An administrator for the organization.
- A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization.
- org path required
- The organization name. The name is not case sensitive.
- string
- custom_property_name path required
- The custom property name
- string
Try it
Authentication
Configure credentials for GitHub v3 REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import github from '@utdk/github';
await github.orgs.customPropertiesForReposCreateOrUpdateOrganizationDefinition()