Delete a space

delete

/swm/rs/v1/spaces/{spaceId}

Remove an existing space, including all the space memberships and all the space content posts.

The API user must have created the space originally (i.e. "owns" the space).

Request

Supported Media Types
Path Parameters
Back to Top

Response

Supported Media Types

200 Response

space resource deleted

404 Response

space resource not found
Back to Top

Examples

Sample Request:

       DELETE swm/rs/v1/spaces/7go4VjU2dK5MkTfHWQHV1l39    

Sample Response:

       {"response":{"code":"200.2","developerMessage":"space resource deleted"},
        "spaceId":"7go4VjU2dK5MkTfHWQHV1l39"}    

Possible Error Codes:

       {
          "code":"403.2","developerMessage":"not space owner",
          "code":"404.0","developerMessage":"space resource not found"
       }    
Back to Top