Delete a trusted device

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://openapi.logto.io/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Logto API references MCP server": {
    "url": "https://openapi.logto.io/mcp"
  }
}

Close
DELETE /api/my-account/trusted-devices/{trustedDeviceId}

Delete a trusted device owned by the signed-in user. Deleting the current trusted device clears its cookie without ending the login session.

Path parameters

  • trustedDeviceId string Required

    The unique identifier of the trusted device.

Responses

  • 204

    The trusted device was deleted successfully.

  • 400

    The field is not editable.

  • 401

    Permission denied, the verification record is invalid or the access token does not include the trusted-devices scope.

  • 403

    The request was made by a third-party application.

  • 404

    The trusted device was not found or does not belong to the signed-in user.

  • 500

    Internal Server Error

DELETE /api/my-account/trusted-devices/{trustedDeviceId}
curl \
 --request DELETE 'https://[tenant_id].logto.app/api/my-account/trusted-devices/{trustedDeviceId}' \
 --header "Authorization: Bearer $ACCESS_TOKEN"