PUT /api/v1/paths/{path_id}

Update a path within the platform.

Body

The following properties must be provided in the Body, formatted as raw/JSON.

NameValuesDescription
namestringName of the path. Cannot be null or empty
descriptionstringDescription of the path. Can be null or empty
authorMailsstringList of authors: main author (first one), co-authors (the rest) for this path, provided by their emails inside an array, it can be null or empty
ownerGroupObjectId as stringId of the group owning the path. Cannot be null or empty
skillsArray as stringId of the skills. Can be null or empty
additionalInformationstringPath additional information. Can be null or empty
certificatestringId of the certificate. Can be null or empty
mandatoryReplaybooleanCannot be null or empty
sendAutomatedRemindersbooleanCannot be null or empty
linearbooleanCannot be null or empty
disableForumbooleanCan be null or empty
durationnumber as stringCan be null or empty
estimatedWeeklyCommitmentrange as stringCan be null or empty
uploadedImageObjectId as stringCan be null or empty
sourceLangstringCannot be null or empty
defaultLangstringCannot be null or empty

Responses

Success

{
  "status": "path_updated",
  "_id": "59f1fd5cb91bedcf09c77063"
  "_id": "59f1fd5cb91bedcf09c77063"
}

Errors

Status codeError bodyReason
404{ "error": "group_not_found" }if the group Id doesn't belong to the company or is not valid
400{ "error": "invalid_path_name" }if the provided path name is null or empty
400{ "error": "invalid_path_owner_group" }if the provided path owner group doesn't belong to the company or is not valid
400{ "error": "invalid_authors" }if the provided authorsMails is null or empty or is not valid
400{ "error": "invalid_skills" }if the provided skills ID is not valid
400{ "error": "invalid_steps" }if the provided steps ID is not valid or nul or empty
400{ "error": "invalid_certificate" }if the provided certificate ID is not valid
400{ "error": "invalid_start_date" }if the provided start date is not valid, or null or empty
400{ "error": "invalid_end_date" }if the provided end date is not valid
400{ "error": "invalid_instructors" }if the provided instructorsMails is null or empty or is not valid

Servers

Path parameters

Name Type Required Description
path_id String Yes

ID of the path

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Query parameters

Name Type Required Description
company String No

(Optional) Include the company ID to authenticate calls via the API key as query parameter. For more information on the authentication methods supported by our API, see Authentication Methods.

apiKey String No

(Optional) Include the API key to authenticate calls via the API key as query parameter. For more information on the authentication methods supported by our API, see Authentication Methods.

Request body fields

Name Type Required Description
sourceLang String No
name String No
sendAutomatedReminders Boolean No
defaultLang String No
description String No
ownerGroup String No
linear Boolean No
authorMails[] Array No
mandatoryReplay Boolean No

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.