Amazon Cognito · JSON Structure

Cognito Idp Forget Device Request Structure

Represents the request to forget the device.

Type: object Properties: 2 Required: 1
AuthenticationAuthorizationIdentityIdentity ProviderOAuth2OIDC

ForgetDeviceRequest is a JSON Structure definition published by Amazon Cognito, describing 2 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

AccessToken DeviceKey

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "type": "object",
  "properties": {
    "AccessToken": {
      "allOf": [
        {
          "$ref": "#/components/schemas/TokenModelType"
        },
        {
          "description": "A valid access token that Amazon Cognito issued to the user whose registered device you want to forget."
        }
      ]
    },
    "DeviceKey": {
      "allOf": [
        {
          "$ref": "#/components/schemas/DeviceKeyType"
        },
        {
          "description": "The device key."
        }
      ]
    }
  },
  "required": [
    "DeviceKey"
  ],
  "description": "Represents the request to forget the device.",
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/aws-cognito/refs/heads/main/json-structure/cognito-idp-forget-device-request-structure.json",
  "name": "ForgetDeviceRequest"
}