enterprise-admin
Set announcement banner for enterprise
Sets the announcement banner to display for the enterprise.
patch/enterprises/{enterprise}/announcement
Request
- Base URL: https://api.github.com
- URL: https://api.github.com/enterprises/{enterprise}/announcement
- Auth: none declared
Path parameters
enterprisestring required
The slug version of the enterprise name.
Request body
Example request
{
"announcement": "Very **important** announcement about _something_.",
"expires_at": "\"2021-01-01T00:00:00.000-07:00\""
}Response
Response
Example response
{
"announcement": "Very **important** announcement about _something_.",
"expires_at": "\"2021-01-01T00:00:00.000-07:00\""
}Changes
No recorded changes to this operation across all 83 revisions of this API.