(spaceGUID string)
| 18 | } |
| 19 | |
| 20 | func (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. |
| 30 | func (client *Client) GetSpaces(query ...Query) ([]resources.Space, IncludedResources, Warnings, error) { |
nothing calls this directly
no test coverage detected