---
title: "Cancel a queued like"
method: POST
path: "/v1/likes/{post_urn}/cancel"
tags: ["Likes"]
---

# Cancel a queued like

`POST /v1/likes/{post_urn}/cancel`

## Request

- Base URL: `https://api.taplio.com`
- URL: `https://api.taplio.com/v1/likes/{post_urn}/cancel`
- Auth: HTTP bearer

Cancels the latest like this account queued for `post_urn`, so it never reaches LinkedIn. The like stays as the record, with `status: cancelled`, a `failure_reason` and a `failure_code`. A post this account never asked to like answers `404 like_not_found`. Refused with `409 like_not_cancellable` when the like was already sent, is in a final state, or is being sent; `reason` in the details says which.

## Path parameters

- `post_urn` string, required

## Response `200`

The like, now cancelled.

- Like
  - `created_at` string, date-time, required
  - `failure_code` string
  - `failure_reason` string
  - `post_urn` string, required
  - `scheduled_for` string, date-time
  - `status` 'pending' | 'liked' | 'failed' | 'cancelled', required
  - `url` string, required

## Other responses

- `400`: Validation failed.
- `401`: Missing or invalid API key.
- `402`: Subscription payment failed.
- `403`: Subscription does not allow this request.
- `404`: Resource not found.
- `409`: Resource state precludes this request.
- `422`: Request semantically rejected.
- `429`: Rate limit exceeded.
- `500`: Internal server error.
- `503`: Upstream unavailable.

---

[API](https://skmtc.dev/taplio/apis/taplio-rest-api.md) · [All operations](https://skmtc.dev/taplio/apis/taplio-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/taplio/apis/taplio-rest-api/revisions/961302019f3f?raw)
