Disable the two-factor authentication of a person

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://api-docs.kitsu.cloud/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Kitsu API MCP server": {
    "url": "https://api-docs.kitsu.cloud/mcp"
  }
}

Close
DELETE /actions/persons/{person_id}/disable-two-factor-authentication

Disable the two-factor authentication of a person. You cannot disable it for another administrator. The person gets an email about the change. You must be an administrator.

Path parameters

  • person_id string(uuid) Required

    Person unique identifier

Responses

  • 200 application/json

    The two-factor authentication is disabled

    Hide response attribute Show response attribute object
    • success boolean

      Success flag

  • 400 application/json

    The person is another administrator, or the two-factor authentication is not enabled for this person

    Hide response attributes Show response attributes object
    • error boolean

      Error flag

    • message string

      Error message

  • 403

    You are not an administrator, or the person is a bot

  • 404

    The person does not exist

DELETE /actions/persons/{person_id}/disable-two-factor-authentication
curl -X DELETE "http://api.example.com/actions/persons/a24a6ea4-ce75-4665-a070-57453082c25/disable-two-factor-authentication" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
import requests

url = "http://api.example.com/actions/persons/a24a6ea4-ce75-4665-a070-57453082c25/disable-two-factor-authentication"
headers = {
    "Authorization": "Bearer YOUR_API_TOKEN",
    "Accept": "application/json"
}
params = {}
payload = None

response = requests.delete(
    url,
    headers=headers,
    params=params,
    json=payload
)

response.raise_for_status()

if response.content:
    print(response.json())
Response examples (200)
{
  "success": true
}
Response examples (400)
{
  "error": true,
  "message": "Two factor authentication not enabled for this user."
}