Super Admin Academy

Update an academy chapter

Changed on

Replace title and description of a chapter. Only accessible to super admins.

put/super-admin/academy/chapters/{id}

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

idstring uuid required

Chapter ID

Request body

titlestring required

The title of the chapter

descriptionstring required

A description of what the chapter covers

Example request

{
  "title": "Getting Started",
  "description": "Learn the basics of working with Ayunis Core."
}

Response

Successfully updated chapter

idstring uuid required

The unique identifier of the chapter

titlestring required

The title of the chapter

descriptionstring required

A description of what the chapter covers

positioninteger required

The position of the chapter (0-based)

createdAtstring date-time required

The date the chapter was created

updatedAtstring date-time required

The date the chapter was last updated

Example response

{
  "title": "Getting Started",
  "description": "Learn the basics of working with Ayunis Core.",
  "courseModules": [
    {
      "title": "Creating your first chat",
      "description": "A short walkthrough of the chat interface.",
      "loomUrl": "https://www.loom.com/share/abc123def456"
    }
  ]
}

Changes

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • warning

      removed the request property

    • warning

      removed the request property