Headless LMS

Create a bundle, optionally with initial content

POST /api/bundles. Create a bundle, optionally with initial content. Headless LMS Content API reference.

POST
/api/bundles

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/bundles" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "orgId": "string",  "id": "string",  "name": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z"}
{  "error": "string",  "message": "string",  "requestId": "string"}