// ClearPendingRevocations
// Pass nil in case you want to clear all pending revocations
ClearPendingRevocations
Pass nil in case you want to clear all pending revocations
// ClearPendingRevocations // Pass nil in case you want to clear all pending revocations
func (c *Client) ClearPendingRevocations(revocations PendingRevocations) (PendingRevocations, error) {
	if revocations == nil {
		revocations = PendingRevocations{}
	}
	var result = struct {
		Result PendingRevocations `json:"rrid2crid"`
	}{}
	var body = struct {
		Body map[string][]string `json:"purge"`
	}{
		Body: revocations,
	}
	err := c.post("/revocation/clear-pending-revocations", nil, body, &result)
	if err != nil {
		return nil, err
	}
	return result.Result, nil
}
func ( c * Client ) ClearPendingRevocations ( revocations PendingRevocations ) ( PendingRevocations , error ) { if revocations == nil { revocations = PendingRevocations { } } var result = struct { Result PendingRevocations `json:"rrid2crid"` } { } var body = struct { Body map [ string ] [ ] string `json:"purge"` } { Body : revocations , } err := c . post ( " " , nil , body , & result ) if err != nil { return nil , err } return result . Result , nil }
ClearPendingRevocations
Pass nil in case you want to clear all pending revocations
ClearPendingRevocations Pass nil in case you want to clear all pending revocations