mirror of
https://github.com/usual2970/certimate.git
synced 2025-06-08 13:39:53 +00:00
16 lines
385 B
Go
16 lines
385 B
Go
package cdn
|
|
|
|
import (
|
|
"net/http"
|
|
)
|
|
|
|
func (c *Client) BatchUpdateCertificateConfig(req *BatchUpdateCertificateConfigRequest) (*BatchUpdateCertificateConfigResponse, error) {
|
|
resp := &BatchUpdateCertificateConfigResponse{}
|
|
_, err := c.client.SendRequestWithResult(http.MethodPut, "/api/config/certificate/batch", req, resp)
|
|
if err != nil {
|
|
return resp, err
|
|
}
|
|
|
|
return resp, err
|
|
}
|