Authorization: Bearer ********************curl --location '/admin/access/grants?page=1&size=20&subjectType=user&subjectId=019ef461-28f4-7fbb-91bc-a827ad53f643&resourceType=course&resourceId=019ef461-28f4-7fbb-91bc-a827ad53f643' \
--header 'Authorization: Bearer <token>'{
"notification": null,
"data": {
"items": [
{
"id": "019ef461-39a5-70cc-a2cd-b9384e10a754",
"subject": {
"type": "user",
"id": "019ef461-17e3-7eaa-80ab-97169442e532"
},
"resource": {
"type": "course",
"id": "019ef461-28f4-7fbb-91bc-a827ad53f643"
}
}
],
"pagination": {
"count": 1,
"total": 1,
"perPage": 20,
"page": 1,
"pages": 1
}
},
"meta": {
"requestId": "019ef461-28f4-7fbb-91bc-a827ad53f643",
"traceId": "019ef461-39a5-70cc-a2cd-b9384e10a754"
}
}