Sample - GitHub REST API
DELETE/enterprises/{enterprise}/actions/oidc/customization/properties/repo/{custom_property_name}

Delete an OIDC custom property inclusion for an enterprise

Removes a repository custom property from being 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.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

2 parameters
enterprisestringrequired
The slug version of the enterprise name.
custom_property_namestringrequired
The name of the custom property to remove from OIDC token inclusion

4 status codes
204OIDC custom property inclusion deleted
400Invalid input
403Forbidden
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
404Property inclusion not found

Error handling

A 400 is returned: Invalid input. A 403 is returned: Forbidden. A 404 is returned: Property inclusion not found.