For the complete documentation index, see llms.txt. This page is also available as Markdown.

delete_issue

imerit_ango.sdk.SDK.

delete_issue(project_id, issue_id)

Delete an existing issue from a task.

Parameters

  • project_id: string

  • issue_id: string

    • The unique identifier of the issue to delete. You can retrieve it using the get_issues function.

Returns:

  • output: dict

    • A dictionary containing the result of the operation.

    • Including a status field indicating whether the request was successful and a data field containing the response payload with updated resources produced by the operation.

Example

import os
from dotenv import load_dotenv
from imerit_ango.sdk import SDK

load_dotenv('variables.env')
api_key = os.getenv('API_KEY')
project_id = os.getenv('PROJECT_ID')

ango_sdk = SDK(api_key)

issue_id = "<YOUR ISSUE ID>"
sdk_response = ango_sdk.delete_issue(project_id=project_id, issue_id=issue_id)
curl -X DELETE "https://imeritapi.ango.ai/v2/issues/<YOUR ISSUE ID>?project=$PROJECT_ID" \
  -H "Content-Type: application/json" \
  -H "apikey: $ANGO_API_KEY"

Last updated