// PublishRevocations
// Pass nil in case you want to publish all pending revocations
PublishRevocations
Pass nil in case you want to publish all pending revocations
// PublishRevocations // Pass nil in case you want to publish all pending revocations
func (c *Client) PublishRevocations(revocations PendingRevocations) error {
	if revocations == nil {
		revocations = PendingRevocations{}
	}
	var body = struct {
		Body PendingRevocations `json:"rrid2crid"`
	}{
		Body: revocations,
	}
	return c.post("/revocation/publish-revocations", nil, body, nil)
}
func ( c * Client ) PublishRevocations ( revocations PendingRevocations ) error { if revocations == nil { revocations = PendingRevocations { } } var body = struct { Body PendingRevocations `json:"rrid2crid"` } { Body : revocations , } return c . post ( " " , nil , body , nil ) }
PublishRevocations
Pass nil in case you want to publish all pending revocations
PublishRevocations Pass nil in case you want to publish all pending revocations