Skip to main content
PATCH
/
welcome-texts
/
{welcome_text_id}
Update Welcome Text Endpoint
curl --request PATCH \
  --url http://localhost:8080/welcome-texts/{welcome_text_id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "text": "<string>",
  "is_enabled": true,
  "is_active": true
}
'
{
  "id": 123,
  "text": "<string>",
  "is_active": true,
  "is_enabled": true,
  "created_by": 123,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Path Parameters

welcome_text_id
integer
required

Body

application/json
text
string | null
Required string length: 1 - 4000
is_enabled
boolean | null
is_active
boolean | null

Response

Successful Response

id
integer
required
text
string
required
is_active
boolean
required
is_enabled
boolean
required
created_by
integer | null
required
created_at
string<date-time>
required
updated_at
string<date-time>
required