---
title: "Cancel a queued LinkedIn step"
method: DELETE
path: "/sender-profiles/{profile_id}/linkedin/actions/{action_id}/"
tags: ["linkedin"]
---

# Cancel a queued LinkedIn step

`DELETE /sender-profiles/{profile_id}/linkedin/actions/{action_id}/`

## Request

- Base URL: `https://api.getoneprofile.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/actions/{action_id}/`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Takes a step out of the line before any browser has it. Deliberately queued-only: a claimed step is already running in somebody's browser, and cancelling it here would leave the two surfaces disagreeing about what happened. Its row on Tasks reads stopped, and a sequence's contact moves on as its step's end says. Approving and rejecting a step happen on Tasks, before it is queued.

## Path parameters

- `profile_id` string, uuid, required
- `action_id` string, uuid, required

## Response `200`

Successful Response

- SuccessfullyDeletedResponse
  - `count` integer: The number of resources that were deleted.
  - `detail` string, required: The detail of why the resource was deleted.

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: No LinkedIn account for this sender.
- `409`: The step is no longer queued.
- `422`: Invalid request made to the API.
- `500`: Internal server error.
- `502`: Bad gateway error.
- `503`: Service unavailable.

---

[API](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile.md) · [All operations](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/llms.txt) · [OpenAPI document](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/revisions/4a6bd71e3f02?raw)
