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
                - 
                    id: integer
                    
                    The ID of the place. This ID must be an existing place ID. 
Response
Supported Media Types
                - application/json
204 Response
The location place was deleted successfully.
                
                
                400 Response
Bad request.
Root Schema : Error
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    ErrorThe error JSON object returned by the service.
    
    
    
    
        Show Source
        - 
            detail: 
            string
            Message that provides the error details.
- 
            o:ecid: 
            string
            Execution context ID, which is a unique identifier to correlate events or requests that are associated with the same transaction across several components.
- 
            o:errorCode: 
            string
            The service's error code.
- 
            o:errorDetails: 
            array  o:errorDetails
            
            Minimum Number of Items:0List of the issues that cause the error. Included when the error is caused by multiple issues.
- 
            o:errorPath: 
            string
            The relative point in the API path where the error occurred.
- 
            status: 
            integer
            HTTP status code. See http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html for more details.
- 
            title: 
            string
            Summary of the problem.
- 
            type: 
            string
            The URI to the link that provides details about the HTTP status code.
Nested Schema : o:errorDetails
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayMinimum Number of Items: 
    
    
    
    
    0List of the issues that cause the error. Included when the error is caused by multiple issues.
    
    
    
    
    
        Show Source
        - 
            [0]: 
                object  Error Detail
            
            Title:Error Detail
Nested Schema : Error Detail
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        Error Detail- 
            instance: 
            string
            The URI to the link that provides more detailed information about the error.
- 
            o:errorCode: 
            string
            The service's error code.
- 
            o:errorPath: 
            string
            The relative point in the API path where the error occurred.
- 
            title: 
            string
            Summary of the problem.
- 
            type: 
            string
            The URI to the link that provides details about the HTTP status code.
404 Response
Place ID not found.
Root Schema : Error
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    ErrorThe error JSON object returned by the service.
    
    
    
    
        Show Source
        - 
            detail: 
            string
            Message that provides the error details.
- 
            o:ecid: 
            string
            Execution context ID, which is a unique identifier to correlate events or requests that are associated with the same transaction across several components.
- 
            o:errorCode: 
            string
            The service's error code.
- 
            o:errorDetails: 
            array  o:errorDetails
            
            Minimum Number of Items:0List of the issues that cause the error. Included when the error is caused by multiple issues.
- 
            o:errorPath: 
            string
            The relative point in the API path where the error occurred.
- 
            status: 
            integer
            HTTP status code. See http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html for more details.
- 
            title: 
            string
            Summary of the problem.
- 
            type: 
            string
            The URI to the link that provides details about the HTTP status code.
Nested Schema : o:errorDetails
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayMinimum Number of Items: 
    
    
    
    
    0List of the issues that cause the error. Included when the error is caused by multiple issues.
    
    
    
    
    
        Show Source
        - 
            [0]: 
                object  Error Detail
            
            Title:Error Detail
Nested Schema : Error Detail
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        Error Detail- 
            instance: 
            string
            The URI to the link that provides more detailed information about the error.
- 
            o:errorCode: 
            string
            The service's error code.
- 
            o:errorPath: 
            string
            The relative point in the API path where the error occurred.
- 
            title: 
            string
            Summary of the problem.
- 
            type: 
            string
            The URI to the link that provides details about the HTTP status code.
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