Skip to main content
POST
/
public
/
get-instructor-permission-presets
Get instructor permission presets
curl --request POST \
  --url https://backend.codedamn.com/api/public/get-instructor-permission-presets \
  --header 'Content-Type: application/json' \
  --header 'FERMION-API-KEY: <api-key>' \
  --data '
{
  "data": [
    {
      "data": {
        "pageNumber": 2,
        "limit": 50.5
      }
    }
  ]
}
'
[
  {
    "output": {
      "status": "ok",
      "data": {
        "totalPresetCount": 123,
        "presets": [
          {
            "id": "single-course-access",
            "requiresResourceIds": true,
            "permissionSets": [
              {
                "permissions": [
                  "CreateCourse"
                ],
                "resourceIdType": "All"
              }
            ]
          }
        ]
      }
    }
  }
]

Authorizations

FERMION-API-KEY
string
header
required

Body

application/json

API Request Body

data
object[]
required

Response

200 - application/json

API Response Body

output
object
required