[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[],[],null,["# Create Two-Factor Credential\n\nVersion 4.0.25.14 (latest)\n\n### Two-factor login information for the specified user.\n\nCalls to this endpoint may be denied by [Looker (Google Cloud core)](https://cloud.google.com/looker/docs/r/looker-core/overview).\n\nRequest\n-------\n\nPOST /users/{user_id}/credentials_totp \nDatatype \nDescription \nRequest \nHTTP Request \npath \nHTTP Path \nExpand HTTP Path definition... \nuser_id \nstring \nId of user \nbody \nHTTP Body \nExpand HTTP Body definition... \nbody \n[CredentialsTotp](/looker/docs/reference/looker-api/latest/types/CredentialsTotp) \nTwo-Factor Credential\nExpand CredentialsTotp definition... \ncan \n*lock* \nobject \nOperations the current user is able to perform on this object \ncreated_at \n*lock* \nstring \nTimestamp for the creation of this credential \nis_disabled \n*lock* \nboolean \nHas this credential been disabled? \ntype \n*lock* \nstring \nShort name for the type of this kind of credential \nverified \n*lock* \nboolean \nUser has verified \nurl \n*lock* \nstring \nLink to get this item \nquery \nHTTP Query \nExpand HTTP Query definition... \nfields \nstring \nRequested fields.\n\nResponse\n--------\n\n### 200: Two-Factor Credential\n\nDatatype \nDescription \n(object) \n[CredentialsTotp](/looker/docs/reference/looker-api/latest/types/CredentialsTotp) \ncan \n*lock* \nobject \nOperations the current user is able to perform on this object \ncreated_at \n*lock* \nstring \nTimestamp for the creation of this credential \nis_disabled \n*lock* \nboolean \nHas this credential been disabled? \ntype \n*lock* \nstring \nShort name for the type of this kind of credential \nverified \n*lock* \nboolean \nUser has verified \nurl \n*lock* \nstring \nLink to get this item\n\n### 400: Bad Request\n\nDatatype \nDescription \n(object) \n[Error](/looker/docs/reference/looker-api/latest/types/Error) \nmessage \n*lock* \nstring \nError details \ndocumentation_url \n*lock* \nstring \nDocumentation link\n\n### 403: Permission Denied\n\nDatatype \nDescription \n(object) \n[Error](/looker/docs/reference/looker-api/latest/types/Error) \nmessage \n*lock* \nstring \nError details \ndocumentation_url \n*lock* \nstring \nDocumentation link\n\n### 404: Not Found\n\nDatatype \nDescription \n(object) \n[Error](/looker/docs/reference/looker-api/latest/types/Error) \nmessage \n*lock* \nstring \nError details \ndocumentation_url \n*lock* \nstring \nDocumentation link\n\n### 409: Resource Already Exists\n\nDatatype \nDescription \n(object) \n[Error](/looker/docs/reference/looker-api/latest/types/Error) \nmessage \n*lock* \nstring \nError details \ndocumentation_url \n*lock* \nstring \nDocumentation link\n\n### 422: Validation Error\n\nDatatype \nDescription \n(object) \n[ValidationError](/looker/docs/reference/looker-api/latest/types/ValidationError) \nmessage \n*lock* \nstring \nError details \nerrors \n[ValidationErrorDetail](/looker/docs/reference/looker-api/latest/types/ValidationErrorDetail)\\[\\] \nExpand ValidationErrorDetail definition... \nfield \n*lock* \nstring \nField with error \ncode \n*lock* \nstring \nError code \nmessage \n*lock* \nstring \nError info message \ndocumentation_url \n*lock* \nstring \nDocumentation link \ndocumentation_url \n*lock* \nstring \nDocumentation link\n\n### 429: Too Many Requests\n\nDatatype \nDescription \n(object) \n[Error](/looker/docs/reference/looker-api/latest/types/Error) \nmessage \n*lock* \nstring \nError details \ndocumentation_url \n*lock* \nstring \nDocumentation link"]]