Skip to content
Navigation

Remove a saved place

DELETE
https://api.nicer.travel/favorites

Removes a saved place from the caller's list. Removing a place that is not saved succeeds too, so a double tap never errors.

Authorization

  • bearerAuth
    HTTP Bearer (JWT)
    required

    Authorization: Bearer <token>

Query parameters

  • kind
    HOTEL
    or
    ACTIVITY
    required
  • reference
    string
    required
    maxLength: 512 · minLength: 1

Returns

200

OK

JSON
  • kind
    HOTEL
    or
    ACTIVITY
    required
  • reference
    string
    required
    maxLength: 512 · minLength: 1
  • saved
    boolean
    required

400

Request failed. errorCode is stable; errorMessage is for humans.
JSON
  • errorCode
    string
    required
  • errorMessage
    string
    required

401

Request failed. errorCode is stable; errorMessage is for humans.
JSON
  • errorCode
    string
    required
  • errorMessage
    string
    required

403

Request failed. errorCode is stable; errorMessage is for humans.
JSON
  • errorCode
    string
    required
  • errorMessage
    string
    required

Type to search…

↑↓ navigate↵ selectEsc close