Skip to content

Delete an OIDC custom property inclusion for an organization

DELETE
/orgs/{org}/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 organization.

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

API method documentation

org
required
string

The organization name. The name is not case sensitive.

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