MCPcopy
hub / github.com/digitalocean/doctl / Delete

Method Delete

do/spaces_keys.go:68–71  ·  view source on GitHub ↗

Delete deletes a Spaces key.

(accessKey string)

Source from the content-addressed store, hash-verified

66
67// Delete deletes a Spaces key.
68func (s *spacesKeysService) Delete(accessKey string) error {
69 _, err := s.client.SpacesKeys.Delete(s.ctx, accessKey)
70 return err
71}
72
73// Get gets a Spaces key.
74func (s *spacesKeysService) Get(accessKey string) (*SpacesKey, error) {

Callers

nothing calls this directly

Calls 1

DeleteMethod · 0.65

Tested by

no test coverage detected