Skip to main content
PATCH
/
journals
/
editor
/
rename
Rename Journal
curl --request PATCH \
  --url https://api.example.com/journals/editor/rename \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "journal_id": "<string>",
  "title": "<string>"
}
'
{
  "success": true,
  "message": "<string>",
  "old_title": "<string>",
  "new_title": "<string>",
  "journal_id": "<string>",
  "timestamp": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Request model for editing a journal title.

journal_id
string
required

The ID of the journal.

title
string
required

The title of the journal.

Response

Successful Response

Response model for editing a journal title.

success
boolean
required
message
string | null
old_title
string | null
new_title
string | null
journal_id
string | null
timestamp
string