Remove a LinkedIn writing preference

Retire one writing preference. Later drafts stop following it; words already written or approved are unchanged.

DELETEhttps://app.trygtm.com/api/v1/linkedin/lessons/{lesson_id}
Scope
write

Path parameters

lesson_idstringrequired
The preference's id, from list_linkedin_lessons.

Headers

Idempotency-Keystringoptional
A key unique to this write, up to 255 characters. A retry carrying the same key returns the first response instead of running again. Kept for 24 hours.

Request

curl -X DELETE https://app.trygtm.com/api/v1/linkedin/lessons/8f2a91c4-6d1e-4c0a-9a57-2f3b1c7e9d10 \
  -H "Authorization: Bearer $TRYGTM_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

Response

{
  "data": {
    "removed": "6f7a8b9c-0d1e-4f2a-8b3c-4d5e6f7a8b9c"
  }
}

Was this page helpful?