Set or clear the system announcement
PUT
Sets the announcement shown to all users (returns 200 with it), replacing any previous one. An empty or missing message clears it instead (returns 204).
bearer openid, profile, email, carpheader
AuthorizationBearer <token>Provide the username and password of the user
Scope: openid, profile, email, carp
application/json- body
message?|Length
0 <= length <= 1000severity?stringValue in
"INFO""WARNING""CRITICAL"OK
*/*- response
message?stringseverity?stringValue in
"INFO""WARNING""CRITICAL"updatedAt?stringFormat
date-timeupdatedBy?stringcurl -X PUT 'https://dev.carp.dk/api/admin/announcement' \ -H 'Content-Type: application/json' \ -d '{}'Example response
{ "message": "string", "severity": "INFO", "updatedAt": "2019-08-24T14:15:22Z", "updatedBy": "string"}