Skip to content

Delete SERA Render Storage API

This API enables you to purge cached renders and delete SERA-rendered pages associated with a specific URL. It is particularly useful when a page has been removed and its rendered artifacts need to be cleaned up.

Prerequisite

  1. You must have an account on Nitrogen.
  2. Your target domain must have been registered on Nitrogen.
  3. You must have a service account configured with Editor access. If not, you can refer this article for the same.

Delete Render Storage API Request

Delete Render Storage API Request Details

  • Method :

    • PUT
  • Endpoint :

    • https://dash.n7.io/api/v2/nda/delivery/domains/{domain}/sera/purge-render
  • Request Headers :

    • Authorization: Token <api-key-of-service-account>
    • Content-Type: application/json
  • Request Payload :


    • {
          "url": "https://www.example.com/saree/satin-sarees"
      }
      

Delete Render Storage API Request Explanation

  • Path params :

    • domain: the domain for which the rendered page needs to be deleted
  • Payload Params :

    • Field Description Mandatory Note
      url The full URL of the page whose rendered storage needs to be deleted mandatory Must be a valid URI

Delete Render Storage API Request Example

curl --request PUT --location 'https://dash.n7.io/api/v2/nda/delivery/domains/www.example.com/sera/delete-storage' \
--header 'Authorization: Token <api-key-of-service-account>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "url": "https://www.example.com/saree/satin-sarees"
}'