Backoffice API
  1. Contents
Backoffice API
  • Back to home
  • Docs
  • ContentTypes
    • Paginated ContentTypes
      GET
    • Create ContentType
      POST
    • ContentType by id
      GET
    • Update ContentType by id
      PATCH
    • Remove ContentType by id
      DELETE
  • Templates
    • Paginated Templates
      GET
    • Create Template
      POST
    • Template by id
      GET
    • Update Template by id
      PATCH
    • Remove Template by id
      DELETE
  • Contents
    • Paginated Contents
      GET
    • Create Content
      POST
    • Content by id
      GET
    • Update Content by id
      PATCH
    • Delete Content by id
      DELETE
    • Restore soft deleted Content by id
      POST
    • Switch Content Template by id
      POST
  • Metadata
    • All Content Metadata
      GET
    • Update all Content Metadata
      PUT
  • Blocks
    • All blocks by Content id
      GET
    • Create Block in a Content Locale
      POST
    • Update Block by id
      PATCH
    • Remove Block by id
      DELETE
  1. Contents

Restore soft deleted Content by id

POST
/contents/{id}/restore

Request

Authorization
API Key
Add parameter in header
x-api-key
Example:
x-api-key: ********************
or
API Key
Add parameter in query
x-api-key
Example:
x-api-key: ********************
or
Path Params

Responses

🟢200Success
application/json
Body

🟠400Invalid UUID
🟠401Unauthorized API KEY
🟠403Unauthorized roles
🟠404Entity not found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://prod.your-api-server.com/api/docs/v2/contents/{{docs_content_id}}/restore' \
--header 'x-api-key: <api-key>'
Response Response Example
200 - Example 1
{
    "data": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc",
        "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",
        "status_id": "4e949624-bc0f-439e-a9f2-25a23938812c",
        "canonical_domain": "string",
        "canonical_url": "string",
        "is_archived": false,
        "show_publication_datetime": true,
        "locales": [
            {
                "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                "locale": "en",
                "location": "string",
                "title_html": "<h1>A title example</h1>",
                "subtitle_html": "<h1>A subtitle example</h1>",
                "lead_html": "<h1>A lead example</h1>",
                "seo": {
                    "description": "string",
                    "title": "string"
                },
                "visual": {
                    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                    "type": "none",
                    "image": null,
                    "video": null,
                    "slideshow": null
                },
                "authors": [
                    {
                        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                        "profile_id": "bfcb6779-b1f9-41fc-92d7-88f8bc1d12e8"
                    }
                ],
                "deleted_at": "2019-08-24T14:15:22Z"
            }
        ],
        "content_categories": [
            {
                "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                "category_id": "8de4c9fd-61a4-4c0b-bf88-0ed3a0fe3fa2"
            }
        ],
        "published_at": "2019-08-24T14:15:22Z",
        "released_at": "2019-08-24T14:15:22Z",
        "released_at_timezone": "string",
        "inserted_at": "2019-08-24T14:15:22Z",
        "updated_at": "2019-08-24T14:15:22Z",
        "deleted_at": "2019-08-24T14:15:22Z"
    }
}
Modified at 2025-06-19 16:42:11
Previous
Delete Content by id
Next
Switch Content Template by id
Built with