Delete an attachment of a guest comment

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 /shared/playlists/{token}/comments/{comment_id}/attachments/{attachment_file_id}

Delete a file attached to a comment. Only the guest who wrote the comment can delete it. You do not need an account. The token of the link is the credential. If the link has a password, give it in the password query parameter.

Path parameters

  • token string Required

    Token of the share link

  • comment_id string(uuid) Required

    Unique identifier of the comment

  • attachment_file_id string(uuid) Required

    Unique identifier of the attachment

Query parameters

  • password string

    Password when the link is protected

application/json

Body Required

  • guest_id string(uuid) Required

    Identifier of the guest who wrote the comment

Responses

  • 204

    The attachment is deleted

  • 400

    The body has no guest_id, or guest_id is not a UUID

  • 403

    Comments are disabled for this link, the guest is not a guest of this link, another guest wrote the comment, or the comment is not on a task of the shared playlist

  • 404

    The link is not valid, has expired, or the password is missing or wrong, or the comment does not exist, or the attachment does not exist

DELETE /shared/playlists/{token}/comments/{comment_id}/attachments/{attachment_file_id}
curl \
 --request DELETE '/api/shared/playlists/{token}/comments/{comment_id}/attachments/{attachment_file_id}' \
 --header "Content-Type: application/json" \
 --data '{
  "guest_id": "string"
}'
Request examples
{
  "guest_id": "string"
}