Skip to main content
POST
/
public
/
get-instructor-iam-permissions
Get instructor IAM permissions
curl --request POST \
  --url https://backend.codedamn.com/api/public/get-instructor-iam-permissions \
  --header 'Content-Type: application/json' \
  --header 'FERMION-API-KEY: <api-key>' \
  --data '
{
  "data": [
    {
      "data": {
        "instructorId": "<string>"
      }
    }
  ]
}
'
[
  {
    "output": {
      "status": "ok",
      "data": {
        "policy": {
          "version": "<string>",
          "statements": [
            {
              "action": "Allow",
              "permissionSet": {
                "scope": "All"
              },
              "resourceSet": {
                "scope": "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