Sample - GitHub REST API
DELETE/orgs/{org}/actions/oidc/customization/properties/repo/{custom_property_name}

Delete an OIDC custom property inclusion for an organization

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

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

2 parameters
orgstringrequired
The organization name. The name is not case sensitive.
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.