Reusable Blocks

Delete a Reusable Block

delete/api/reusable-blocks/{id}

Request

  • Base URL: https://hellosafe.com
  • URL: https://hellosafe.com/api/reusable-blocks/{id}
  • Auth: OAuth 2 (password, token URL /api//openapi-auth)

Response

Reusable Block object

idstring required
namestring required
type'cta-button' | 'cta-block' | 'offers-block' | 'travel-app-block' | 'page-chips' | 'ceam-tool-block' | 'card-check-block' | 'visa-block' | 'attestation-generator-block' required

Type of reusable block

attestationDocument'attestation-de-travail' | 'attestation-de-salaire' | 'attestation-de-conge' | 'attestation-de-prise-en-charge' | 'attestation-d-hebergement' | 'autorisation-parentale-de-voyage' nullable

The document this generator opens on. The page is about this one; the generator links to the others.

visaNationalitystring nullable

The passport the box is written for (ISO 2 letters, e.g. FR): it shows what our visa partner sells to this passport for the destination below.

visaDestinationstring nullable

Where the traveller is going (ISO 2 letters, e.g. US). The block renders nothing when the partner sells no document on this route.

numberOfOffersToShownumber nullable
showOffersFromFirstColumnAsContentWithoutPriceboolean nullable
ctaTextstring nullable
buttonTextstring nullable
linkType'external' | 'internal' | 'tool-on-hero-section' nullable
updatedAtstring required
createdAtstring required
deletedAtstring nullable
_status'draft' | 'published' nullable

Changes

No recorded changes to this operation across all 1 revision of this API.