The ID of the application to revert the commit for.
The ID of the commit to revert to.
Response
Indicates whether the operation was successful.
success
if successful, error
if not.Contains details about the application after the commit revert.
Error Responses
Indicates whether the operation was successful.
error
if not successful.The error code indicating the reason for failure. Possible values:
UNAUTHORIZED
: The user is not authenticated or lacks sufficient permissions.FORBIDDEN
: The user does not have access to the application.APP_NOT_FOUND
: The specified application does not exist.COMMIT_NOT_FOUND
: The specified commit does not exist.BACKUP_DATA_NOT_FOUND
: Required backup data could not be found.INVALID_LANGUAGE
: The application language could not be detected or is invalid.NO_CONFIG_FILE
: No configuration file was found in the commit.FAILED_TO_REVERT_COMMIT
: The revert operation failed.FAILED_TO_REBUILD_APP
: The rebuild after revert failed.USER_NOT_FOUND
: The owner of the application was not found.