Skip to main content

revokeTrustedDevice

Requires an authenticated session.

Removes trust from one of the signed-in user's devices.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

mutation RevokeTrustedDevice($deviceId: String!) {
revokeTrustedDevice(deviceId: $deviceId)
}

Variables:

{
"deviceId": "string"
}

Response:

{
"data": {
"revokeTrustedDevice": true
}
}
revokeTrustedDevice(
deviceId: String!
): Boolean!

Arguments​

revokeTrustedDevice.deviceId ● String! non-null scalar​

The ID of the trusted device.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.