Delete a Space
delete
/ic/api/process/v1/spaces/{spaceId}
Deletes a space.
Request
Path Parameters
-
spaceId(required): string
The space ID
Query Parameters
-
userMode: string
Applicable only for Administrators. Executes the API in given user mode.Default Value:
none
Allowed Values:[ "DEVELOPER", "NONE" ]
Response
Supported Media Types
- application/json
- application/xml;qs=0.9
200 Response
Success. Space successfully deleted.
Root Schema : space
Type:
object
The representation of a Space
401 Response
Unauthorized
403 Response
Privileges required. User can't delete the space
404 Response
Space not found.
500 Response
Error in deleting space
Examples
The following example shows how to delete a space by submitting a DELETE request on the REST resource.
Send Request
The following example shows the contents of the send request:
https://example.com/ic/api/process/v1/spaces/<spaceId>
Where,
-
example.com
is the host where Oracle Integration is running. -
<spaceId> is the unique ID for a space. To retrieve available spaces, see Retrieve Spaces.
Example of Response Header
Status Code: 200 OK Date: Tue, 21 Mar 2017 08:39:54 GMT Content-Type: application/json
Example of Response Body
{ "id": "c8e6ce16-ce2d-4090-add5-ec0bc3cc7eeb", "name": "MySpace", "creator": "jsmith", "creation": "2017-04-04,22:55:56 PDT", "links": [ { "href": "http://example.com:7001/ic/api/process/v1/spaces/c8e6ce16-ce2d-4090-add5-ec0bc3cc7eeb", "rel": "self" }, { "href": "http://example.com:7001/ic/api/process/v1/spaces/c8e6ce16-ce2d-4090-add5-ec0bc3cc7eeb", "rel": "canonical" }, { "href": "http://example.com:7001/ic/api/process/v1/", "rel": "parent" } ] }