GET /api/v1/role-assignments
Read the responsibilities assigned in your school.
Send x-api-key. The school and actor come from the verified key; body identities cannot override them. School OWNER or ADMIN, or organization program_director.
curl -X GET "https://www.cohorte.io/api/v1/role-assignments" \
-H "x-api-key: $COHORTE_API_KEY"200 returns the result. 401: invalid key. 403: insufficient current permission.
An array of id, subjectUserId, role, scopeType, scopeId, createdAt and updatedAt. Dates are ISO date-time strings or null.
{
"success": true,
"data": [],
"correlationId": "22222222-2222-4222-8222-222222222222"
}