CurrentUserResetCourseProgress
No description
CurrentUserResetCourseProgress(
userId: ID
slug: String!
revokeAccess: Boolean!
): Boolean!
Directives
authAccess
This requires the current user to be in
STUDENT
role.
Arguments
CurrentUserResetCourseProgress.userId
● ID
scalar
CurrentUserResetCourseProgress.slug
● String!
non-null scalar
CurrentUserResetCourseProgress.revokeAccess
● Boolean!
non-null scalar
Type
Boolean
scalar
The
Boolean
scalar type representstrue
orfalse
.
Examples
Query:
CurrentUserResetCourseProgress(
$userId: ID,
$slug: String!,
$revokeAccess: Boolean!
) {
CurrentUserResetCourseProgress(
userId: $userId,
slug: $slug,
revokeAccess: $revokeAccess
)
}
Variables:
{
"userId": "0e99a117-e3b6-40a6-867c-6b3bbc166b41",
"slug": "abc123",
"revokeAccess": false
}
Response:
{
"data": {
"CurrentUserResetCourseProgress": false
}
}