oidc
Create an OIDC custom property inclusion for an enterprise
Changed onAdds a repository custom property to be included in the OIDC token for repository actions in an enterprise.
OAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.
[!NOTE] The "Enterprise administration" fine-grained permission is not available to callers. To use this API, you must use an OAuth app token or a personal access token (classic).
post/enterprises/{enterprise}/actions/oidc/customization/properties/repo
Request
- Base URL: https://api.github.com
- URL: https://api.github.com/enterprises/{enterprise}/actions/oidc/customization/properties/repo
- Auth: none declared
Path parameters
enterprisestring required
The slug version of the enterprise name.
Request body
Response
OIDC custom property inclusion created
Example response
{
"inclusion_source": "organization"
}Changes
- info
endpoint added
- info