Remove a Shotgun asset

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
POST /import/shotgun/remove/asset

Remove an asset that was imported from Shotgun. If tasks of the asset have working files or comments, the asset is only canceled. Send the Shotgun identifier of the row in the body. If no row has this identifier, the response is a success. You must be an administrator.

application/json

Body Required

  • id integer Required

    Shotgun ID of the asset to remove

Responses

  • 200 application/json

    The result of the removal

    Hide response attributes Show response attributes object
    • success boolean

      Whether the removal was successful

    • removed_instance_id string(uuid)

      ID of the asset found, removed or not

  • 400

    The body is not JSON

  • 403

    You are not an administrator

  • 500

    The body has no id, or the id is not an integer

POST /import/shotgun/remove/asset
curl -X POST "http://api.example.com/import/shotgun/remove/asset" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
  "id": 12345
}'
import requests

url = "http://api.example.com/import/shotgun/remove/asset"
headers = {
    "Authorization": "Bearer YOUR_API_TOKEN",
    "Accept": "application/json",
    "Content-Type": "application/json"
}
params = {}
payload = {
    "id": 12345
}

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

response.raise_for_status()

if response.content:
    print(response.json())
Request example
{
  "id": 12345
}
Response examples (200)
{
  "success": true,
  "removed_instance_id": "a24a6ea4-ce75-4665-a070-57453082c250"
}