v56

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-011,4581,08113.3 MB
oidc

Create an OIDC custom property inclusion for an organization

Adds a repository custom property to be included in the OIDC token for repository actions in an organization.

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

post/orgs/{org}/actions/oidc/customization/properties/repo

Path parameters

orgstring required

The organization name. The name is not case sensitive.

Request body

custom_property_namestring required

The name of the custom property to include in the OIDC token

Response

OIDC custom property inclusion created

custom_property_namestring required

The name of the custom property that is included in the OIDC token

inclusion_source'organization' | 'enterprise' required

Whether the inclusion was defined at the organization or enterprise level

Example response

{
  "inclusion_source": "organization"
}