Custom Property

This event occurs when there is activity relating to a custom property.

Actions

ActionSent when
createdA new custom property was created.
deletedA custom property was deleted.
promoted-to-enterpriseA custom property was promoted to an enterprise.
updatedA custom property was updated.

Payload

Fields of the delivery for the first action above. Every action shares the event's core fields.

FieldTypeRequiredDescription
actionstringYes
definitionobjectYesCustom property defined on an organization
enterpriseobjectNoAn enterprise on GitHub. Webhook payloads contain the enterprise property when the webhook is configured
installationobjectNoThe GitHub App installation. Webhook payloads contain the installation property when the event is configured
organizationobjectNoA GitHub organization. Webhook payloads contain the organization property when the webhook is configured for an
senderobjectNoA GitHub user.
Subscribing

To subscribe to this event, a GitHub App must have at least read-level access for the "Custom properties" organization permission.