Repository Commit Manipulation
Revert commit
The operation reverts any changes done in the single commit represented by revert_ref_id (compared to its own parent). These opposing changes are then applied into the branch represented by base_id. If any changes were done between revert_ref_id and base_id, they will be checked for conflicts with the revert changes.
POST
Authorizations
This API uses OAuth 2 with the implicit grant flow
Path Parameters
The repo ID of the repository. Repo name can be used instead of the ID, but usage of ID for permanent linking and API requests is preferred.
Required string length:
3 - 128
Example:
"example_id"
Query Parameters
A reference to a base unto which changes will be applied
Required string length:
3 - 128
Example:
"example_id"
A reference to a source version to revert, currently only commit ID is supported
Required string length:
3 - 128
Example:
"example_id"
Response
200
_mintlify/placeholder
The revert was empty