Revoke device
/titan/user/devices/{id}:revokeEnd one of the caller's phones for good: its signatures no longer verify and its push token is deleted. Revoking a revoked phone returns it unchanged. Without a body, a step-up; with {proof}, a JWS {alg: ES256, kid: the device_id of another (or the same) trusted phone of the caller, typ: titan-device-revocation+jwt} over {aud, sub, device_id (the phone revoked), iat, exp}; a phone without a key attestation where the deployment refuses those revokes only itself or a phone still in its waiting period (DEVICE_ATTESTATION_REQUIRED for another trusted phone). A step-up is a user token whose auth_time is within the deployment session profile's device_step_up_max_age_seconds (default 300) and whose amr, when present, names a second factor; without one, 401 STEP_UP_REQUIRED with WWW-Authenticate: Bearer error="insufficient_user_authentication". Authorized by the caller's own user-route token; a device belongs to the token's subject and another person's is NOT_FOUND; NOT_FOUND unless phone enrollment is on.
Path parameters
Headers
Bearer <token>. The person's user-route token: a user access token from the deployment's identity provider for an audience only the person routes accept, carrying their use claim. The Gateway verifies it; the edge does not. A session's token is refused here, and a user-route token is refused as a session's. Served only while the deployment turns the person routes on; NOT_FOUND otherwise.
Body parameters
Returns
200Successful response; exact status varies by operation.object
What the phone's key attestation said at enrollment; present for a phone enrolled where the deployment required one at the time. null (with attestation_missing) for a phone without one where the deployment now requires attestation; absent elsewhere
present (true) only where the deployment requires attestation and this phone has none (enrolled before): under the deployment's unattested_phones allow it is still trusted; under refuse_signatures its decisions, endorsements, logins and revocations of another trusted phone are refused (DEVICE_ATTESTATION_REQUIRED) until it is re-enrolled with an attestation
One of: true
One of: "ios", "android"
One of: "sandbox", "production"
The last push delivery failure to this phone: a status or transport error, never a response body
One of: "active", "revoked"
Errors
- defaultRejected request.