Get the current IAM permissions of an instructor
Authentication with the “FERMION-API-KEY” header is required to use this endpoint.
Rate limit: Maximum 60 requests in a window of 1m.
cURL
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" } } ] } } } } ]
API Request Body
Show child attributes
API Response Body