Skip to main content
PUT
/
api
/
v0
/
tfa
/
update
Update tfa update
curl --request PUT \
  --url https://console.vast.ai/api/v0/tfa/update/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "tfa_method_id": "<string>",
  "tfa_method": "<string>",
  "label": "<string>",
  "is_primary": "<string>",
  "apikey_id": "<string>"
}
'
{
  "success": true,
  "msg": "Operation completed successfully"
}

Documentation Index

Fetch the complete documentation index at: https://vastai-80aa3a82-auto-openapi-preview-pr-4175.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Body

application/json
tfa_method_id
string

The tfa method id

tfa_method
string

The tfa method

label
string

The label

is_primary
string

The is primary

apikey_id
string

The apikey id

Response

Successful response

success
boolean
Example:

true

msg
string
Example:

"Operation completed successfully"