---
title: "Reverts a user's dialog state from ACTIVE to PENDING."
method: POST
path: "/v1/users/{userId}/challenges/cross-device/retract"
tags: ["Accounts"]
---

# Reverts a user's dialog state from ACTIVE to PENDING.

`POST /v1/users/{userId}/challenges/cross-device/retract`

## Path parameters

- `userId` integer, required

## Request body

- RobloxTwoStepVerificationApiRetractDialogRequest — Request parameters for retracting a Cross Device dialog from state ACTIVE to PENDING.
  - `challengeId` string — The two step verification challenge ID.
  - `actionType` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 — The Roblox.TwoStepVerification.Client.TwoStepVerificationActionType associated with the challenge. ['Unknown' = 0, 'Login' = 1, 'RobuxSpend' = 2, 'ItemTrade' = 3, 'Resale' = 4, 'PasswordReset' = 5, 'RevertAccount' = 6, 'Generic' = 7, 'GenericWithRecoveryCodes' = 8]

## Response `200`

OK

- RobloxTwoStepVerificationApiRetractDialogResponse — Result for a successful attempt to retract a Cross Device state from ACTIVE to PENDING.

## Other responses

- `400` — 1: Invalid challenge ID. 2: The user ID is invalid.
- `403` — 0: Token Validation Failed 19: Challenge denied.
- `503` — 7: Two step verification is currently under maintenance.

---

[API](https://skmtc.net/roblox/apis/roblox-api.md) · [All operations](https://skmtc.net/roblox/apis/roblox-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/roblox/roblox-api/versions/756260310407/schema)
