Delete 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 /data/persons/{instance_id}

Delete a person. You cannot delete yourself or a protected account. Without force, the person is deleted only if no other data uses it. With force=true, the comments, notifications, logs, subscriptions, time spents, team memberships and task assignments of the person are deleted or detached first. You must be an administrator.

Path parameters

  • instance_id string(uuid) Required

    Unique identifier of the person

Query parameters

  • force boolean

    Delete or detach all the data of the person first

    Default value is false.

Responses

  • 204

    The person is deleted

  • 400

    Other data uses the person and force is not set

  • 403

    You are not an administrator, you try to delete yourself, or the account is protected

  • 404

    The person does not exist

DELETE /data/persons/{instance_id}
curl -X DELETE "http://api.example.com/data/persons/a24a6ea4-ce75-4665-a070-57453082c25?force=false" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
import requests

url = "http://api.example.com/data/persons/a24a6ea4-ce75-4665-a070-57453082c25"
headers = {
    "Authorization": "Bearer YOUR_API_TOKEN",
    "Accept": "application/json"
}
params = {
    "force": false
}
payload = None

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

response.raise_for_status()

if response.content:
    print(response.json())