Rollback a code in the api