st.withdrawConnectionRequest
This action allows you to withdraw the connection request sent to a person.
Constraints
⏺️ Root Start: allowed, when
personUrlparameter is provided.
⬆️ Parent Actions: st.openPersonPage.
⬇️ 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 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 istrue.
Result options
- Successful connection request withdrawal:
json
{
"actionType": "st.withdrawConnectionRequest",
"success": true,
"label": "person1"
}label– included only if specified in the action parameters.
- 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.