MCPcopy Index your code
hub / github.com/cloudfoundry/cli / DeleteSpace

Method DeleteSpace

api/cloudcontroller/ccv3/space.go:20–27  ·  view source on GitHub ↗
(spaceGUID string)

Source from the content-addressed store, hash-verified

18}
19
20func (client *Client) DeleteSpace(spaceGUID string) (JobURL, Warnings, error) {
21 jobURL, warnings, err := client.MakeRequest(RequestParams{
22 RequestName: internal.DeleteSpaceRequest,
23 URIParams: internal.Params{"space_guid": spaceGUID},
24 })
25
26 return jobURL, warnings, err
27}
28
29// GetSpaces lists spaces with optional filters.
30func (client *Client) GetSpaces(query ...Query) ([]resources.Space, IncludedResources, Warnings, error) {

Callers

nothing calls this directly

Calls 1

MakeRequestMethod · 0.65

Tested by

no test coverage detected