Net::Gnats::Command::DELETE
Deletes the specified PR. The user making the request must have admin privileges (see Controlling access to databases). If successful, the PR is removed from the filesystem and the index file; a gap will be left in the numbering sequence for PRs. No checks are made that the PR is closed.
DELETE [PR NUMBER]
The possible responses are:
210 (CODE_OK)
The PR was successfully deleted.
422 (CODE_NO_ACCESS)
The user requesting the delete does not have admin privileges.
430 (CODE_LOCKED_PR)
The PR is locked by another session.
431 (CODE_GNATS_LOCKED)
The database has been locked, and no PRs may be updated until the lock is cleared.
6xx (internal error)
The PR could not be successfully deleted, usually because of permission or other filesystem-related problems.
To install Net::Gnats, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Gnats
CPAN shell
perl -MCPAN -e shell install Net::Gnats
For more information on module installation, please visit the detailed CPAN module installation guide.