Open Context Protocol is live! 🚀 Read the launch post

deleteProject

Delete project

Details

  • Method: DELETE
  • Path: /rest/api/3/project/{projectIdOrKey}
  • Operation ID: deleteProject

Parameters

{
  "projectIdOrKey": {
    "description": "The project ID or project key (case sensitive).",
    "required": true,
    "location": "path",
    "type": "string"
  },
  "enableUndo": {
    "description": "Whether this project is placed in the Jira recycle bin where it will be available for restoration.",
    "required": false,
    "location": "query",
    "type": "boolean"
  }
}

Usage

from ocp_agent import OCPAgent

agent = OCPAgent()
await agent.register_api('jira')

# Call this tool
result = await agent.call_tool('deleteProject', {
    # Add required parameters here
})