Skip to content
CARP Docs
Ask AISystemLightDark

Set or clear the system announcement

Copy MarkdownOpen inView as MarkdownOpen in Scira AIOpen in ChatGPTOpen in ClaudeOpen in Cursor
PUT
/api/admin/announcement

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, carp
headerAuthorizationBearer <token>

Provide the username and password of the user

Scope: openid, profile, email, carp

application/json
  1. body
message?|
Length0 <= length <= 1000
severity?string
Value in"INFO""WARNING""CRITICAL"

Response body

OK

*/*
  1. response
message?string
severity?string
Value in"INFO""WARNING""CRITICAL"
updatedAt?string
Formatdate-time
updatedBy?string
Example request
curl -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"}

Quick links

Page · DocumentationCARP DocumentationPage · DocumentationIntroductionPage · DocumentationQuickstartPage · DocumentationTerminologyPage · DocumentationArchitecture