Prepared Queries

Delete a prepared query

Changed on

Deletes a prepared query from a ledger. Requires ledger:WriteQuery scope.

delete/v3/{ledgerName}/prepared-queries/{queryName}

Request

  • Base URL
    http://localhost:9000
  • URL
    http://localhost:9000/v3/{ledgerName}/prepared-queries/{queryName}
  • Auth
    • HTTP bearer
    • or none

Path parameters

ledgerNamestring required

Name of the ledger

queryNamestring required

Prepared query name, URL-encoded as one path segment. Decoded exactly once.

Response

Prepared query deleted successfully

Changes

    • info

      api operation id deletePreparedQuery removed and replaced with v3DeletePreparedQuery

    • info

      added the media type text/plain for the response with the status

    • info

      added the media type text/plain for the response with the status

    • info

      added the non-success response with the status