AladiaDocs
Api referenceSpacesFoldersCourses

Update the license of a course

Update the license of a folder

PATCH
/v2/spaces/{spaceId}/folders/{folderId}/courses/license

Update the license of a folder

AuthorizationBearer <token>

In: header

Path Parameters

spaceId*string
folderId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PATCH "https://example.com/v2/spaces/string/folders/string/courses/license" \  -H "Content-Type: application/json" \  -d '{    "courseId": "string",    "spaceLicenses": [      {        "licenses": 1,        "targetSpaceId": "string"      }    ]  }'
{}