Skip to content

Delete an OIDC custom property inclusion for an enterprise

DELETE
/enterprises/{enterprise}/actions/oidc/customization/properties/repo/{custom_property_name}

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.

API method documentation

enterprise
required
string

The slug version of the enterprise name.

custom_property_name
required
string

The name of the custom property to remove from OIDC token inclusion

OIDC custom property inclusion deleted

Invalid input

Forbidden

Media type application/json
Basic Error

Basic Error

object
message
string
documentation_url
string
url
string
status
string
Example generated
{
"message": "example",
"documentation_url": "example",
"url": "example",
"status": "example"
}

Property inclusion not found