1. Images
Backoffice API
  • Welcome to Omerlo CMS backoffice API
  • AdOps
    • Advertisers
      • Paginated Advertisers
      • Create Advertiser
      • Advertiser by id
      • Update Advertiser by id
    • Ads
      • Paginated Ads in Advertiser
      • Create Ad in Advertiser
      • Ad by id
      • Update Ad by id
      • Place an Ad in Issue or Media
    • Creatives
      • All creatives in Ad
      • Create Creative in Ad
      • Creative by id
      • Update Creative by id
      • Upload Creative image by id
      • Remove Creative by id
    • Categories
      • Paginated Categories
      • Create Category
      • Category by id
      • Update Category by id
      • Delete Category by id
  • Assets
    • How to upload an image and use it
    • Upload Asset Image
      POST
    • Get Asset Image by key
      GET
  • Community
    • Events
      • Blocks
        • Event blocks by id
        • Manage Event blocks by id
        • Event Block entries by ids
        • Manage Event Block entries by ids
      • Sessions
        • Event sessions by event_id
        • Create Event session
        • Event session by id
        • Update Event session by id
        • Remove Event session by id
      • Metadata
        • All Event Metadata
        • Update all Event Metadata
      • List events
      • Create Event
      • Event by id
      • Update Event by id
      • Remove Event by id
      • Event occurrences by id
      • Update Event Block by ids
      • Switch Profile Type by Event id
      • Change event's workspace
    • Organizations
      • Blocks
        • Organization blocks by id
        • Manage Organization blocks by id
        • Organization Block entries by ids
        • Manage Organization Block entries by ids
      • Metadata
        • All Organization Metadata
        • Update all Organization Metadata
      • List organizations
      • Create Organization
      • Organization by id
      • Update Organization by id
      • Remove Organization by id
      • Update Organization Block by ids
      • Switch Profile Type by Organization id
      • Change organization's workspace
    • People
      • Blocks
        • Person blocks by id
        • Manage Person blocks by id
        • Person Block entries by ids
        • Manage Person Block entries by ids
      • Metadata
        • All Person Metadata
        • Update all Person Metadata
      • List people
      • Create Person
      • Person by id
      • Update Person by id
      • Remove Person by id
      • Update Person Block by ids
      • Switch Profile Type by Person id
      • Change person's workspace
    • Projects
      • Blocks
        • Project blocks by id
        • Manage Project blocks by id
        • Project Block entries by ids Copy
        • Manage Project Block entries by ids
      • Metadata
        • All Project Metadata
        • Update all Project Metadata
      • List projects
      • Create Project
      • Project by id
      • Update Project by id
      • Remove Project by id
      • Update Project Block by ids
      • Switch Profile Type by Project id
      • Change project's workspace
  • Composer
    • Workspaces
      • Paginated workspaces
      • Get workspace by id
  • Core
    • Assets
      • Images
        • Create Asset Image
          POST
        • Asset Image by id
          GET
        • Asset Image by key
          GET
        • Asset Image by hash
          GET
        • Delete Asset Image by id
          DELETE
        • Restore soft deleted Asset image by id
          POST
    • Categories
      • Paginated Categories
      • Create Category
      • Category by id
      • Update Category by id
      • Delete Category by id
      • Restore soft deleted Category by id
    • References
      • Create Reference
      • Reference by ref
      • Remove Reference by ref
      • Lookup References
  • Docs
    • ContentTypes
      • Paginated ContentTypes
      • Create ContentType
      • ContentType by id
      • Update ContentType by id
      • Remove ContentType by id
    • Templates
      • Paginated Templates
      • Create Template
      • Template by id
      • Update Template by id
      • Remove Template by id
    • Contents
      • Paginated Contents
      • Create Content
      • Content by id
      • Update Content by id
      • Delete Content by id
      • Restore soft deleted Content by id
      • Switch Content Template by id
      • Change Content's Workspace
    • Metadata
      • All Content Metadata
      • Update all Content Metadata
    • Blocks
      • All blocks by Content id
      • Create Block in a Content Locale
      • Update Block by id
      • Remove Block by id
  • Magazines
    • Issues
      • List Issues by Workspace id
      • Create Issue in Workspace
      • Issue by id
      • Update Issue by id
      • Delete Issue by id
      • Restore soft deleted Issue by id
    • Sections
      • All sections by Issue id
      • Create Section in Issue
      • Section by id
      • Update Section by id
      • Remove Section by id
      • Section contents by Section id
    • Blocks
      • All blocks by Section id
      • Bulk update blocks by Section id
      • Block by id
      • Update Block by id
    • Slots
      • All slots by Block id
      • Bulk update slots by Block id
    • SectionContents
      • List SectionContents by Issue id
      • Search SectionContents by Issue id
      • Create SectionContent in Section
      • Remove SectionContent by id
  • Messenger
    • SES
      • SES Webhook for mail events
    • Mailinglists
      • Paginated subscriptions by mailinglist id
  • Publisher
    • BlockConfigs
      • All Block Configurations
      • Create Block Configuration
      • Get Block Configuration by id
      • Update Block Configuration by id
    • Blocks
      • Create Media Block HTML
      • Media Block by id
      • Update Media Block HTML by id
    • Publications
      • Create Publication
      • Publication by id
      • Remove Publication by id
  • ReaderHub
    • Readers
      • Create Reader entitlement
    • SES
      • SES Webhook for mail events
    • Mailinglists
      • Paginated subscriptions by mailinglist id
      • Subscribe by mailinglist id
  • Webhooks
    • Webhook Security
    • Events
      • Event Invitation Created
      • Participant Created
      • Participant Removed
  • Schemas
    • AdOps
      • Ad
      • Advertiser
      • Advertiser (summary)
      • Category
      • Creative
    • Community
      • Event
      • Event (summary)
      • Event Schedule
      • Event Session
      • Event Session (summary)
      • Organization
      • Organization (summary)
      • Person
      • Person (summary)
      • Project
      • Project (summary)
      • Profile
      • Profile (summary)
      • Profile Address
      • Profile Block
      • Profile Block (summary)
      • Profile BlockEntry
      • Profile BlockEntry (summary)
      • Profile Contact
      • Profile Description
      • Profile Metadata
    • Composer
      • Workspace
      • Workspace (summary)
      • Status (summary)
    • Core
      • Visual
        • Image
        • Slideshow
        • Video
        • Visual Image
        • Visual Slideshow
        • Visual Video
        • Visual None
      • Asset
      • Category
      • Reference
      • Paging Metadata
      • Visual
    • Docs
      • Content
        • Content
        • Content (summary)
        • Content Metadata
        • Content Block
      • Blocks
        • Quote Block
        • Question Block
        • Data Block
        • HTML Block
        • Image Block
        • Related Content Block
        • Profiles Block
        • Richtext Block
        • Slideshow Block
        • Video Block
      • ContentType
        • ContentType
        • ContentTemplate (summary)
        • ContentTemplate
    • Magazines
      • Issue
      • Issue (summary)
      • Section
      • Section Block
      • Section Block (summary)
      • Block Slot
      • SectionContent
    • Publisher
      • Publication
      • Reader subscription (summary)
      • Media Block Configuration (summary)
      • Media Block Configuration
    • ReaderHub
      • Entitlement
  1. Images

Restore soft deleted Asset image by id

Omerlo CA
https://ca.omerlo.app/api
Omerlo CA
https://ca.omerlo.app/api
POST
/core/v2/assets/images/{id}/restore

Request

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

Responses

🟢200Success
application/json
Bodyapplication/json

🟠400Invalid UUID
🟠401Unauthorized API KEY
🟠403Unauthorized roles
🟠404Entity not found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://ca.omerlo.app/api/core/v2/assets/images/113c8e25-dfa3-4100-abd9-924fba72aa7c/restore' \
--header 'x-api-key: <api-key>'
Response Response Example
200 - Example 1
{
    "data": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "file_key": "string",
        "file_hash": "string",
        "name": "string",
        "gravity": "center",
        "locales": [
            {
                "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                "locale": "en",
                "credit": "string",
                "caption_html": "string"
            }
        ],
        "inserted_at": "2019-08-24T14:15:22.123Z",
        "updated_at": "2019-08-24T14:15:22.123Z",
        "deleted_at": "2019-08-24T14:15:22.123Z"
    }
}
Modified at 2026-03-02 08:06:58
Previous
Delete Asset Image by id
Next
Paginated Categories
Built with