MCPcopy
hub / github.com/harness/harness / UserDelete

Method UserDelete

client/client.go:140–144  ·  view source on GitHub ↗

UserDelete deletes a user account by ID or email.

(ctx context.Context, key string)

Source from the content-addressed store, hash-verified

138
139// UserDelete deletes a user account by ID or email.
140func (c *HTTPClient) UserDelete(ctx context.Context, key string) error {
141 uri := fmt.Sprintf("%s/api/v1/users/%s", c.base, key)
142 err := c.delete(ctx, uri)
143 return err
144}
145
146//
147// http request helper functions

Callers

nothing calls this directly

Calls 1

deleteMethod · 0.95

Tested by

no test coverage detected