# Revert of a merged pull request Endpoint: POST /code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/revert Version: 1.0 Security: x-api-key ## Query parameters: - `accountIdentifier` (string, required) Account Identifier for the Entity. - `orgIdentifier` (string) Organization Identifier for the Entity. - `projectIdentifier` (string) Project Identifier for the Entity. ## Path parameters: - `repo_identifier` (string, required) - `pullreq_number` (integer, required) ## Request fields (application/json): - `message` (string) - `revert_branch` (string) - `title` (string) ## Response 200 fields (application/json): - `branch` (string) - `commit` (object) - `commit.author` (object) - `commit.author.identity` (object) - `commit.author.identity.email` (string) - `commit.author.identity.name` (string) - `commit.author.when` (string) - `commit.committer` (object) - `commit.message` (string) - `commit.parent_shas` (array) - `commit.sha` (string) Git object hash - `commit.signature` (object,null) - `commit.signature.created` (integer) - `commit.signature.key_fingerprint` (string) - `commit.signature.key_id` (string) - `commit.signature.key_scheme` (string) Enum: "pgp", "ssh" - `commit.signature.result` (string) Enum: "bad", "good", "invalid", "key_expired", "revoked", "unsupported", "unverified" - `commit.signature.updated` (integer) - `commit.stats` (object) - `commit.stats.files` (array) - `commit.stats.files.changes` (integer) - `commit.stats.files.deletions` (integer) - `commit.stats.files.insertions` (integer) - `commit.stats.files.old_path` (string) - `commit.stats.files.path` (string) - `commit.stats.files.status` (string) - `commit.stats.total` (object) - `commit.title` (string) ## Response 400 fields (application/json): - `message` (string) - `values` (object) ## Response 401 fields (application/json): - `message` (string) - `values` (object) ## Response 403 fields (application/json): - `message` (string) - `values` (object) ## Response 404 fields (application/json): - `message` (string) - `values` (object) ## Response 405 fields (application/json): - `message` (string) - `values` (object)