# st.withdrawConnectionRequest

This action allows you to withdraw the connection request sent to a person.

## Constraints

> ⏺️ **Root Start:** allowed, when `personUrl` parameter is provided.

> ⬆️ **Parent Actions:** [st.openPersonPage](/docs/action-st-open-person-page).

> ⬇️ **Child Actions:** N/A.

## Parameters

```json
{
  "actionType": "st.withdrawConnectionRequest",
  "label": "person1",
  "personUrl": "https://www.linkedin.com/in/person1",
  "unfollow": true
}
```

- `label` (optional) – custom label for tracking this action in workflow completion.
- `personUrl` (required for root start, forbidden for parent start) – [public or hashed](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the person you want to withdraw the connection request from.
- `unfollow` (optional) – boolean indicating whether you want to unfollow the person when withdrawing the request. The default value is `true`.

## Result options

1. **Successful connection request withdrawal:**

```json
{
  "actionType": "st.withdrawConnectionRequest",
  "success": true,
  "label": "person1"
}
```

- `label` – included only if specified in the action parameters.

2. **Failed connection request withdrawal:**

```json
{
  "actionType": "st.withdrawConnectionRequest",
  "label": "person1",
  "success": false,
  "error": {
    "type": "notPending",
    "message": "There is no pending connection request to this person."
  }
}
```

- `label` – included only if specified in the action parameters.
- `error.type` – enum with the following possible values:
  - `personNotFound` – provided URL is not an existing LinkedIn person.
  - `selfProfileNotAllowed` – action cannot be performed on your own profile.
  - `notPending` – there is no pending connection request to this person.
