Profile Edit API - Courses

This sub-resource API will allow you to create, update, and delete courses of a member. See Course Fields for a description of the fields available within this object.

Supported Methods

CREATE | PARTIAL_UPDATE | DELETE

CREATE

POST https://api.linkedin.com/v2/people/id={person ID}/courses

sample request body

{
    "name": {
        "localized": {
            "en_US": "Introduction to Computer Science"
        },
        "preferredLocale": {
            "country": "US",
            "language": "en"
        }
    },
    "number": "171636",
    "occupation": "urn:li:position:(urn:li:person:1234ABC,677616236)"
}

Note

A successful response will return a 201 Created HTTP status code. To record the created entity's id, refer to the header X-LinkedIn-Id field.

PARTIAL UPDATE

POST https://api.linkedin.com/v2/people/id={person ID}/courses/{course ID}

sample request body

{
    "patch": {
        "$set": {
            "name": {
                "localized": {
                    "en_US": "Advanced Computer Science"
                },
                "preferredLocale": {
                    "country": "US",
                    "language": "en"
                }
            },
            "number": "17236"
        }
    }
}

Sample Json to delete one or more fields. If you attempt to delete a field that is mandatory, the API will return a 422 Error Response. See Course Fields for allowed list of fields for this resource.

sample request body

{
    "patch": {
        "$delete": [
            "field1",
            "field2"
        ]
    }
}

DELETE

DELETE https://api.linkedin.com/v2/people/id={person ID}/courses/{course ID}