Skip to main content

SelectCurrentUserActiveLicense

Changes the active license of the CurrentUser. The results of this mutation can be affected by providing an authToken header to set a user for the operation.

SelectCurrentUserActiveLicense(
licenseId: ID!
): Boolean!

Directives

authAccess

This requires the current user to be in STUDENT role.

Arguments

SelectCurrentUserActiveLicense.licenseId ● ID! non-null scalar

The ID of the License that should be set to 'active' for the CurrentUser.

Type

Boolean scalar

The Boolean scalar type represents true or false.

Examples

Run in Postman

Query:

SelectCurrentUserActiveLicense($licenseId: ID!) {
SelectCurrentUserActiveLicense(licenseId: $licenseId)
}

Variables:

{
"licenseId": "58ccb96c-8e90-4464-86e0-f284442981df"
}

Response:

{
"data": {
"SelectCurrentUserActiveLicense": false
}
}