> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bit2connect.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Mobile App

> Delete a mobile app from your project

## Request

<ParamField header="X-API-KEY" type="string" required>
  Your API key: `b2co_your_api_key`
</ParamField>

<ParamField path="id" type="string" required>
  The unique identifier of the mobile app to delete
</ParamField>

<Warning>
  **Permanent Action**: Deleting a mobile app is permanent and cannot be undone.
  Any dynamic links currently using this mobile app will lose their mobile app association.
</Warning>

## Response

<ResponseField name="success" type="boolean">
  Indicates if the request was successful
</ResponseField>

<ResponseField name="data" type="object">
  Response data object
</ResponseField>

<ResponseField name="data.message" type="string">
  Confirmation message: "Mobile app deleted successfully"
</ResponseField>

<ResponseField name="timestamp" type="string">
  ISO 8601 timestamp of the response
</ResponseField>

## Error Responses

<ResponseField name="success" type="boolean">
  `false` when the mobile app is not found
</ResponseField>

<ResponseField name="error" type="string">
  Error message: "Mobile app not found"
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE "https://api.bit2connect.com/1.0/mobile-apps/550e8400-e29b-41d4-a716-446655440000" \
    -H "X-API-KEY: b2co_your_api_key"
  ```

  ```javascript JavaScript theme={null}
  const appId = '550e8400-e29b-41d4-a716-446655440000';
  const response = await fetch(`https://api.bit2connect.com/1.0/mobile-apps/${appId}`, {
    method: 'DELETE',
    headers: {
      'X-API-KEY': 'b2co_your_api_key'
    }
  });

  const data = await response.json();
  console.log(data);
  ```

  ```python Python theme={null}
  import requests

  app_id = '550e8400-e29b-41d4-a716-446655440000'
  response = requests.delete(
      f'https://api.bit2connect.com/1.0/mobile-apps/{app_id}',
      headers={'X-API-KEY': 'b2co_your_api_key'}
  )

  data = response.json()
  print(data)
  ```
</RequestExample>

<ResponseExample>
  ```json Success Response theme={null}
  {
    "success": true,
    "data": {
      "message": "Mobile app deleted successfully"
    },
    "timestamp": "2024-01-15T12:00:00Z"
  }
  ```

  ```json Not Found Response theme={null}
  {
    "success": false,
    "error": "Mobile app not found",
    "timestamp": "2024-01-15T12:00:00Z"
  }
  ```
</ResponseExample>
