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.

[!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).

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.