Delete Place

delete

/mobile/system/locationManagement/places/{id}

Deletes the place that matches the ID.

Permissions

Only team members with the Administrator role can access the Location Management API.

Request

Path Parameters
  • The ID of the place. This ID must be an existing place ID.

Response

Supported Media Types

204 Response

The location place was deleted successfully.

400 Response

Bad request.

Body ()
Root Schema : Error
Type: object
Title: Error
The error JSON object returned by the service.
Show Source
Nested Schema : o:errorDetails
Type: array
Minimum Number of Items: 0
List of the issues that cause the error. Included when the error is caused by multiple issues.
Show Source
Nested Schema : Error Detail
Type: object
Title: Error Detail
Show Source

404 Response

Place ID not found.

Body ()
Root Schema : Error
Type: object
Title: Error
The error JSON object returned by the service.
Show Source
Nested Schema : o:errorDetails
Type: array
Minimum Number of Items: 0
List of the issues that cause the error. Included when the error is caused by multiple issues.
Show Source
Nested Schema : Error Detail
Type: object
Title: Error Detail
Show Source

Examples

The following example shows how to delete a place by submitting a DELETE request on the REST resource using cURL. For more information about cURL, see Use cURL.

curl -i
-X DELETE 
-u administrator@example.com:password
-H "Oracle-Mobile-Backend-ID: ABCD9278-091f-41aa-9cb2-184bd0586fce"
http://fif.cloud.oracle.com/mobile/system/locationManagement/places/30

Example of Response Header

The following shows an example of the response header, which indicates that the place was deleted:

204 NO_CONTENT
Content-Length: 0
Date: Thu, 21 Sep 2017 23:53:12 GMT