# Subscriber

### **Create Subscriber of Application**

* **Request**

{% tabs %}
{% tab title="JSON" %}

<table data-header-hidden><thead><tr><th width="149"></th><th width="569.3333333333334"></th></tr></thead><tbody><tr><td><strong>Field</strong></td><td><strong>Value</strong></td></tr><tr><td>URL</td><td><mark style="color:red;"><code>https://platform.antares.id:8443/~/antares-cse/antares-id/your-application-ID</code></mark><br>or<br><mark style="color:red;"><code>https://platform.antares.id:8443/~/antares-cse/your-application-ID</code></mark><br><br>Note: <mark style="color:red;"><code>your-application-ID</code></mark> must be starting with <mark style="color:red;"><code>CAE</code></mark>. e.g. <mark style="color:red;"><code>CAE760571675</code></mark></td></tr><tr><td>Method</td><td><mark style="color:red;"><code>POST</code></mark></td></tr></tbody></table>

**Header**

<table><thead><tr><th width="276"></th><th></th></tr></thead><tbody><tr><td><strong>Key</strong></td><td><strong>Value</strong></td></tr><tr><td>X-M2M-Origin</td><td><mark style="color:red;"><code>antares-access-key</code></mark></td></tr><tr><td>Content-Type</td><td><mark style="color:red;"><code>application/json;ty=23</code></mark></td></tr><tr><td>Accept</td><td><mark style="color:red;"><code>application/json</code></mark></td></tr></tbody></table>

**Body**

{% code lineNumbers="true" %}

```json
{
            "m2m:sub": {
                "rn": "nama-subscriber-anda",
                "nu": "server-hostname-anda-atau-ip",
                "nct": 2
            }
        }
```

{% endcode %}
{% endtab %}

{% tab title="XML" %}

<table data-header-hidden><thead><tr><th width="118"></th><th width="569.3333333333334"></th></tr></thead><tbody><tr><td><strong>Field</strong></td><td><strong>Value</strong></td></tr><tr><td>URL</td><td><mark style="color:red;"><code>https://platform.antares.id:8443/~/antares-cse/antares-id/your-application-ID</code></mark><br>or<br><mark style="color:red;"><code>https://platform.antares.id:8443/~/antares-cse/your-application-ID</code></mark><br><br>Note: <mark style="color:red;"><code>your-application-ID</code></mark> must be starting with <mark style="color:red;"><code>CAE</code></mark>. e.g. <mark style="color:red;"><code>CAE760571675</code></mark></td></tr><tr><td>Method</td><td><mark style="color:red;"><code>POST</code></mark></td></tr></tbody></table>

**Header**

<table><thead><tr><th width="222"></th><th></th></tr></thead><tbody><tr><td><strong>Key</strong></td><td><strong>Value</strong></td></tr><tr><td>X-M2M-Origin</td><td><mark style="color:red;"><code>antares-access-key</code></mark></td></tr><tr><td>Content-Type</td><td><mark style="color:red;"><code>application/xml;ty=23</code></mark></td></tr><tr><td>Accept</td><td><mark style="color:red;"><code>application/xml</code></mark></td></tr></tbody></table>

**Body**

```xml
<m2m:sub xmlns:m2m="http://www.onem2m.org/xml/protocols" rn="your-subscriber-name">
            <nu>your-server-address</nu>
            <nct>2</nct>
        </m2m:sub>
```

{% endtab %}
{% endtabs %}

* **Response**

{% tabs %}
{% tab title="JSON" %}
Result

```json
{
    "m2m:sub": {
        "rn": "nama-subscriber-anda",
        "ty": 23,
        "ri": "/antares-cse/sub-542371250",
        "pi": "/antares-cse/CAE492050112",
        "ct": "20191120T160324",
        "lt": "20191120T160324",
        "acpi": [
            "/antares-cse/acp-35730207",
            "/antares-cse/acp-891035820"
        ],
        "nu": [
            "server-hostname-anda-atau-ip"
        ],
        "nct": 2
    }
}
```

{% endtab %}

{% tab title="XML" %}
Result

{% code lineNumbers="true" %}

```xml
<?xml version="1.0" encoding="UTF-8"?>
<m2m:sub xmlns:m2m="http://www.onem2m.org/xml/protocols" xmlns:hd="http://www.onem2m.org/
xml/protocols/homedomain" rn="nama-subscriber-anda">
    <ty>23</ty>
    <ri>/antares-cse/sub-841863552</ri>
    <pi>/antares-cse/CAE492050112</pi>
    <ct>20191120T160045</ct>
    <lt>20191120T160045</lt>
    <acpi>/antares-cse/acp-35730207</acpi>
    <acpi>/antares-cse/acp-891035820</acpi>
    <nu>server-address-anda</nu>
    <nct>2</nct>
</m2m:sub>
```

{% endcode %}
{% endtab %}
{% endtabs %}

### **Create Subscriber of Device**

* **Request**

{% tabs %}
{% tab title="JSON" %}

<table data-header-hidden><thead><tr><th width="149"></th><th width="569.3333333333334"></th></tr></thead><tbody><tr><td><strong>Field</strong></td><td><strong>Value</strong></td></tr><tr><td>URL</td><td><mark style="color:red;"><code>https://platform.antares.id:8443/~/antares-cse/antares-id/device-name</code></mark><br>or<br><mark style="color:red;"><code>https://platform.antares.id:8443/~/antares-cse/your-device-ID</code></mark><br><br>Note: <mark style="color:red;"><code>your-application-ID</code></mark> must be starting with <mark style="color:red;"><code>CAE</code></mark>. e.g. <mark style="color:red;"><code>CAE760571675</code></mark></td></tr><tr><td>Method</td><td><mark style="color:red;"><code>POST</code></mark></td></tr></tbody></table>

**Header**

<table><thead><tr><th width="276"></th><th></th></tr></thead><tbody><tr><td><strong>Key</strong></td><td><strong>Value</strong></td></tr><tr><td>X-M2M-Origin</td><td><mark style="color:red;"><code>antares-access-key</code></mark></td></tr><tr><td>Content-Type</td><td><mark style="color:red;"><code>application/json;ty=23</code></mark></td></tr><tr><td>Accept</td><td><mark style="color:red;"><code>application/json</code></mark></td></tr></tbody></table>

**Body**

{% code lineNumbers="true" %}

```json
{
            "m2m:sub": {
                "rn": "nama-subscriber-anda",
                "nu": "server-hostname-anda-atau-ip",
                "nct": 2
            }
        }
```

{% endcode %}
{% endtab %}

{% tab title="XML" %}

<table data-header-hidden><thead><tr><th width="118"></th><th width="569.3333333333334"></th></tr></thead><tbody><tr><td><strong>Field</strong></td><td><strong>Value</strong></td></tr><tr><td>URL</td><td><mark style="color:red;"><code>https://platform.antares.id:8443/~/antares-cse/antares-id/device-name</code></mark><br>or<br><mark style="color:red;"><code>https://platform.antares.id:8443/~/antares-cse/your-device-ID</code></mark><br><br>Note: <mark style="color:red;"><code>your-device-ID</code></mark> must be starting with <mark style="color:red;"><code>CNT</code></mark>. e.g. <mark style="color:red;"><code>CNT-842419289</code></mark></td></tr><tr><td>Method</td><td><mark style="color:red;"><code>POST</code></mark></td></tr></tbody></table>

**Header**

<table><thead><tr><th width="222"></th><th></th></tr></thead><tbody><tr><td><strong>Key</strong></td><td><strong>Value</strong></td></tr><tr><td>X-M2M-Origin</td><td><mark style="color:red;"><code>antares-access-key</code></mark></td></tr><tr><td>Content-Type</td><td><mark style="color:red;"><code>application/xml;ty=23</code></mark></td></tr><tr><td>Accept</td><td><mark style="color:red;"><code>application/xml</code></mark></td></tr></tbody></table>

**Body**

```xml
<m2m:sub xmlns:m2m="http://www.onem2m.org/xml/protocols" rn="nama-subscriber-anda">
            <nu>server-address-anda</nu>
            <nct>2</nct>
        </m2m:sub>
```

{% endtab %}
{% endtabs %}

* **Response**

{% tabs %}
{% tab title="JSON" %}
Result

```json
{
    "m2m:sub": {
        "rn": "your-subscriber-name",
        "ty": 23,
        "ri": "/antares-cse/sub-422069048",
        "pi": "/antares-cse/cnt-869787388",
        "ct": "20191120T155438",
        "lt": "20191120T155438",
        "acpi": [
            "/antares-cse/acp-35730207",
            "/antares-cse/acp-891035820"
        ],
        "nu": [
            "server-hostname-anda-atau-ip"
        ],
        "nct": 2
    }
}
```

{% endtab %}

{% tab title="XML" %}
Result

{% code lineNumbers="true" %}

```xml
<?xml version="1.0" encoding="UTF-8"?>
<m2m:sub xmlns:m2m="http://www.onem2m.org/xml/protocols" xmlns:hd="http://www.onem2m.org/
xml/protocols/homedomain" rn="your-subscriber-name">
    <ty>23</ty>
    <ri>/antares-cse/sub-631201523</ri>
    <pi>/antares-cse/cnt-681155603</pi>
    <ct>20191120T112528</ct>
    <lt>20191120T112528</lt>
    <acpi>/antares-cse/acp-35730207</acpi>
    <acpi>/antares-cse/acp-891035820</acpi>
    <nu>server-address-anda</nu>
    <nct>2</nct>
</m2m:sub>
```

{% endcode %}
{% endtab %}
{% endtabs %}

### **Retrieve All Subscribers ID of an Application**

* **Request**

{% tabs %}
{% tab title="JSON" %}

<table data-header-hidden><thead><tr><th width="118"></th><th width="569.3333333333334"></th></tr></thead><tbody><tr><td><strong>Field</strong></td><td><strong>Value</strong></td></tr><tr><td>URL</td><td><mark style="color:red;"><code>https://platform.antares.id:8443/~/antares-cse/antares-id/application-name?fu=1&#x26;ty=23</code></mark><br>or<br><mark style="color:red;"><code>https://platform.antares.id:8443/~/antares-cse/your-application-ID?fu=1&#x26;ty=23</code></mark><br><br>Note: <mark style="color:red;"><code>your-application-ID</code></mark> must be starting with <mark style="color:red;"><code>CAE</code></mark>. e.g. <mark style="color:red;"><code>CAE760571675</code></mark></td></tr><tr><td>Method</td><td><mark style="color:red;"><code>GET</code></mark></td></tr></tbody></table>

**Header**

<table><thead><tr><th width="222"></th><th></th></tr></thead><tbody><tr><td><strong>Key</strong></td><td><strong>Value</strong></td></tr><tr><td>X-M2M-Origin</td><td><mark style="color:red;"><code>antares-access-key</code></mark></td></tr><tr><td>Content-Type</td><td><mark style="color:red;"><code>application/json</code></mark></td></tr><tr><td>Accept</td><td><mark style="color:red;"><code>application/json</code></mark></td></tr></tbody></table>
{% endtab %}

{% tab title="XML" %}

<table data-header-hidden><thead><tr><th width="130"></th><th width="569.3333333333334"></th></tr></thead><tbody><tr><td><strong>Field</strong></td><td><strong>Value</strong></td></tr><tr><td>URL</td><td><mark style="color:red;"><code>https://platform.antares.id:8443/~/antares-cse/antares-id/application-name?fu=1&#x26;ty=23</code></mark><br>or<br><mark style="color:red;"><code>https://platform.antares.id:8443/~/antares-cse/your-application-ID?fu=1&#x26;ty=23</code></mark><br><br>Note: <mark style="color:red;"><code>your-application-ID</code></mark> must be starting with <mark style="color:red;"><code>CAE</code></mark>. e.g. <mark style="color:red;"><code>CAE760571675</code></mark></td></tr><tr><td>Method</td><td><mark style="color:red;"><code>GET</code></mark></td></tr></tbody></table>

**Header**

<table><thead><tr><th width="222"></th><th></th></tr></thead><tbody><tr><td><strong>Key</strong></td><td><strong>Value</strong></td></tr><tr><td>X-M2M-Origin</td><td><mark style="color:red;"><code>antares-access-key</code></mark></td></tr><tr><td>Content-Type</td><td><mark style="color:red;"><code>application/xml</code></mark></td></tr><tr><td>Accept</td><td><mark style="color:red;"><code>application/xml</code></mark></td></tr></tbody></table>

SS
{% endtab %}
{% endtabs %}

* **Response**

{% tabs %}
{% tab title="JSON" %}

```json
{
  "uril": ""
}
```

{% endtab %}

{% tab title="XML" %}
Result

{% code lineNumbers="true" %}

```xml
<?xml version="1.0" encoding="UTF-8"?>
<m2m:uril xmlns:m2m="http://www.onem2m.org/xml/protocols" xmlns:hd="http://www.onem2m.org/
xml/protocols/homedomain"></m2m:uril>
```

{% endcode %}
{% endtab %}
{% endtabs %}

### **Retrieve Particular Subscriber of an Application**

* **Request**

{% tabs %}
{% tab title="JSON" %}

<table data-header-hidden><thead><tr><th width="118"></th><th width="569.3333333333334"></th></tr></thead><tbody><tr><td><strong>Field</strong></td><td><strong>Value</strong></td></tr><tr><td>URL</td><td><mark style="color:red;"><code>https://platform.antares.id:8443/~/antares-cse/antares-id/your-application-name/subscriber-name</code></mark><br>or<br><mark style="color:red;"><code>https://platform.antares.id:8443/~/antares-cse/your-subscriber-ID</code></mark><br><br>Note: <mark style="color:red;"><code>your-subscriber-ID</code></mark> must be starting with <mark style="color:red;"><code>sub</code></mark>. e.g. <mark style="color:red;"><code>sub-123456789</code></mark></td></tr><tr><td>Method</td><td><mark style="color:red;"><code>GET</code></mark></td></tr></tbody></table>

**Header**

<table><thead><tr><th width="222"></th><th></th></tr></thead><tbody><tr><td><strong>Key</strong></td><td><strong>Value</strong></td></tr><tr><td>X-M2M-Origin</td><td><mark style="color:red;"><code>antares-access-key</code></mark></td></tr><tr><td>Content-Type</td><td><mark style="color:red;"><code>application/json</code></mark></td></tr><tr><td>Accept</td><td><mark style="color:red;"><code>application/json</code></mark></td></tr></tbody></table>
{% endtab %}

{% tab title="XML" %}

<table data-header-hidden><thead><tr><th width="118"></th><th width="569.3333333333334"></th></tr></thead><tbody><tr><td><strong>Field</strong></td><td><strong>Value</strong></td></tr><tr><td>URL</td><td><mark style="color:red;"><code>https://platform.antares.id:8443/~/antares-cse/antares-id/your-application-name/subscriber-name</code></mark><br>or<br><mark style="color:red;"><code>https://platform.antares.id:8443/~/antares-cse/your-subscriber-ID</code></mark><br><br>Note: <mark style="color:red;"><code>your-subscriber-ID</code></mark> must be starting with <mark style="color:red;"><code>sub</code></mark>. e.g. <mark style="color:red;"><code>sub-123456789</code></mark></td></tr><tr><td>Method</td><td><mark style="color:red;"><code>GET</code></mark></td></tr></tbody></table>

**Header**

<table><thead><tr><th width="222"></th><th></th></tr></thead><tbody><tr><td><strong>Key</strong></td><td><strong>Value</strong></td></tr><tr><td>X-M2M-Origin</td><td><mark style="color:red;"><code>antares-access-key</code></mark></td></tr><tr><td>Content-Type</td><td><mark style="color:red;"><code>application/xml</code></mark></td></tr><tr><td>Accept</td><td><mark style="color:red;"><code>application/xml</code></mark></td></tr></tbody></table>
{% endtab %}
{% endtabs %}

* **Response**

{% tabs %}
{% tab title="JSON" %}

```json
{
  "sub": {
    "ty": 23,
    "ri": "/antares-cse/sub-542371250",
    "pi": "/antares-cse/CAE492050112",
    "ct": "20191120T160324",
    "lt": "20191120T160324",
    "acpi": [
      "/antares-cse/acp-35730207",
      "/antares-cse/acp-891035820"
    ],
    "nu": "server-hostname-anda-atau-ip",
    "nct": 2
  }
}
```

{% endtab %}

{% tab title="XML" %}
Result

{% code lineNumbers="true" %}

```json
<?xml version="1.0" encoding="UTF-8"?>
    <m2m:sub xmlns:m2m="http://www.onem2m.org/xml/protocols" xmlns:hd="http://www.onem2m.org/
    xml/protocols/homedomain" rn="your-subscriber-Name">
        <ty>23</ty>
        <ri>/antares-cse/sub-542371250</ri>
        <pi>/antares-cse/CAE492050112</pi>
        <ct>20191120T160324</ct>
        <lt>20191120T160324</lt>
        <acpi>/antares-cse/acp-35730207</acpi>
        <acpi>/antares-cse/acp-891035820</acpi>
        <nu>your-server-hostname-or-ip</nu>
        <nct>2</nct>
    </m2m:sub>
```

{% endcode %}
{% endtab %}
{% endtabs %}

### **Retrieve All Subscribers ID of a Device**

* **Request**

{% tabs %}
{% tab title="JSON" %}

<table data-header-hidden><thead><tr><th width="94"></th><th width="569.3333333333334"></th></tr></thead><tbody><tr><td><strong>Field</strong></td><td><strong>Value</strong></td></tr><tr><td>URL</td><td><mark style="color:red;"><code>https://platform.antares.id:8443/~/antares-cse/antares-id/application-name/device-name?fu=1&#x26;ty=23</code></mark><br>or<br><mark style="color:red;"><code>https://platform.antares.id:8443/~/antares-cse/your-device-ID?fu=1&#x26;ty=23</code></mark><br><br>Note: <mark style="color:red;"><code>your-device-ID</code></mark> must be starting with <mark style="color:red;"><code>CNT</code></mark>. e.g. <mark style="color:red;"><code>CNT-842419289</code></mark></td></tr><tr><td>Method</td><td><mark style="color:red;"><code>GET</code></mark></td></tr></tbody></table>

**Header**

<table><thead><tr><th width="222"></th><th></th></tr></thead><tbody><tr><td><strong>Key</strong></td><td><strong>Value</strong></td></tr><tr><td>X-M2M-Origin</td><td><mark style="color:red;"><code>antares-access-key</code></mark></td></tr><tr><td>Content-Type</td><td><mark style="color:red;"><code>application/JSON</code></mark></td></tr><tr><td>Accept</td><td><mark style="color:red;"><code>application/JSON</code></mark></td></tr></tbody></table>
{% endtab %}

{% tab title="XML" %}

<table data-header-hidden><thead><tr><th width="94"></th><th width="569.3333333333334"></th></tr></thead><tbody><tr><td><strong>Field</strong></td><td><strong>Value</strong></td></tr><tr><td>URL</td><td><mark style="color:red;"><code>https://platform.antares.id:8443/~/antares-cse/antares-id/application-name/device-name?fu=1&#x26;ty=23</code></mark><br>or<br><mark style="color:red;"><code>https://platform.antares.id:8443/~/antares-cse/your-device-ID?fu=1&#x26;ty=23</code></mark><br><br>Note: <mark style="color:red;"><code>your-device-ID</code></mark> must be starting with <mark style="color:red;"><code>CNT</code></mark>. e.g. <mark style="color:red;"><code>CNT-842419289</code></mark></td></tr><tr><td>Method</td><td><mark style="color:red;"><code>GET</code></mark></td></tr></tbody></table>

**Header**

<table><thead><tr><th width="222"></th><th></th></tr></thead><tbody><tr><td><strong>Key</strong></td><td><strong>Value</strong></td></tr><tr><td>X-M2M-Origin</td><td><mark style="color:red;"><code>antares-access-key</code></mark></td></tr><tr><td>Content-Type</td><td><mark style="color:red;"><code>application/xml</code></mark></td></tr><tr><td>Accept</td><td><mark style="color:red;"><code>application/xml</code></mark></td></tr></tbody></table>
{% endtab %}
{% endtabs %}

* **Response**

{% tabs %}
{% tab title="JSON" %}
Result

{% code lineNumbers="true" %}

```json
{
    "m2m:uril": [
        "/antares-cse/antares-id/your-application-name/sub_your-subscriber-name"
    ]
}
```

{% endcode %}
{% endtab %}

{% tab title="XML" %}
Result

{% code lineNumbers="true" %}

```xml
<?xml version="1.0" encoding="UTF-8"?>
<m2m:uril xmlns:m2m="http://www.onem2m.org/xml/protocols" xmlns:hd="http://www.onem2m.org/xml/protocols/homedomain">/antares-cse/antares-id/your-application-name/sub_your-subscriber-name</m2m:uril>
```

{% endcode %}
{% endtab %}
{% endtabs %}

### **Retrieve Particular Subscriber of a Device**

* **Request**

{% tabs %}
{% tab title="JSON" %}

<table data-header-hidden><thead><tr><th width="118"></th><th width="569.3333333333334"></th></tr></thead><tbody><tr><td><strong>Field</strong></td><td><strong>Value</strong></td></tr><tr><td>URL</td><td><mark style="color:red;"><code>https://platform.antares.id:8443/~/antares-cse/antares-id/your-application-name/your-device-name/subscriber-name</code></mark><br>or<br><mark style="color:red;"><code>https://platform.antares.id:8443/~/antares-cse/your-subscriber-ID</code></mark><br><br>Note: <mark style="color:red;"><code>your-subscriber-ID</code></mark> must be starting with <mark style="color:red;"><code>sub</code></mark>. e.g. <mark style="color:red;"><code>sub-123456789</code></mark></td></tr><tr><td>Method</td><td><mark style="color:red;"><code>GET</code></mark></td></tr></tbody></table>

**Header**

<table><thead><tr><th width="222"></th><th></th></tr></thead><tbody><tr><td><strong>Key</strong></td><td><strong>Value</strong></td></tr><tr><td>X-M2M-Origin</td><td><mark style="color:red;"><code>antares-access-key</code></mark></td></tr><tr><td>Content-Type</td><td><mark style="color:red;"><code>application/json</code></mark></td></tr><tr><td>Accept</td><td><mark style="color:red;"><code>application/json</code></mark></td></tr></tbody></table>
{% endtab %}

{% tab title="XML" %}

<table data-header-hidden><thead><tr><th width="118"></th><th width="569.3333333333334"></th></tr></thead><tbody><tr><td><strong>Field</strong></td><td><strong>Value</strong></td></tr><tr><td>URL</td><td><mark style="color:red;"><code>https://platform.antares.id:8443/~/antares-cse/antares-id/your-application-name/your-device-name/subscriber-name</code></mark><br>or<br><mark style="color:red;"><code>https://platform.antares.id:8443/~/antares-cse/your-subscriber-ID</code></mark><br><br>Note: <mark style="color:red;"><code>your-subscriber-ID</code></mark> must be starting with <mark style="color:red;"><code>sub</code></mark>. e.g. <mark style="color:red;"><code>sub-123456789</code></mark></td></tr><tr><td>Method</td><td><mark style="color:red;"><code>GET</code></mark></td></tr></tbody></table>

**Header**

<table><thead><tr><th width="222"></th><th></th></tr></thead><tbody><tr><td><strong>Key</strong></td><td><strong>Value</strong></td></tr><tr><td>X-M2M-Origin</td><td><mark style="color:red;"><code>antares-access-key</code></mark></td></tr><tr><td>Content-Type</td><td><mark style="color:red;"><code>application/xml</code></mark></td></tr><tr><td>Accept</td><td><mark style="color:red;"><code>application/xml</code></mark></td></tr></tbody></table>
{% endtab %}
{% endtabs %}

* **Response**

{% tabs %}
{% tab title="JSON" %}

```json
{
  "sub": {
    "ty": 23,
    "ri": "/antares-cse/sub-422069048",
    "pi": "/antares-cse/cnt-869787388",
    "ct": "20191120T155438",
    "lt": "20191120T155438",
    "acpi": [
      "/antares-cse/acp-35730207",
      "/antares-cse/acp-891035820"
    ],
    "nu": "server-hostname-anda-atau-ip",
    "nct": 2
  }
}
```

{% endtab %}

{% tab title="XML" %}
Result

{% code lineNumbers="true" %}

```xml
<?xml version="1.0" encoding="UTF-8"?>
    <m2m:sub xmlns:m2m="http://www.onem2m.org/xml/protocols" xmlns:hd="http://www.onem2m.org/
    xml/protocols/homedomain" rn="your-subscriber-name">
        <ty>23</ty>
        <ri>/antares-cse/sub-422069048</ri>
        <pi>/antares-cse/cnt-869787388</pi>
        <ct>20191120T155438</ct>
        <lt>20191120T155438</lt>
        <acpi>/antares-cse/acp-35730207</acpi>
        <acpi>/antares-cse/acp-891035820</acpi>
        <nu>your-server-hostname-or-ip</nu>
        <nct>2</nct>
    </m2m:sub>
```

{% endcode %}
{% endtab %}
{% endtabs %}

### **Delete Subscriber of Application**

{% tabs %}
{% tab title="JSON" %}

<table data-header-hidden><thead><tr><th width="118"></th><th width="569.3333333333334"></th></tr></thead><tbody><tr><td><strong>Field</strong></td><td><strong>Value</strong></td></tr><tr><td>URL</td><td><mark style="color:red;"><code>https://platform.antares.id:8443/~/antares-cse/antares-id/your-application-name/subscriber-name</code></mark><br>or<br><mark style="color:red;"><code>https://platform.antares.id:8443/~/antares-cse/your-subscriber-ID</code></mark><br><br>Note: <mark style="color:red;"><code>your-subscriber-ID</code></mark> must be starting <mark style="color:red;"><code>sub</code></mark>. e.g. <mark style="color:red;"><code>sub-123456789</code></mark></td></tr><tr><td>Method</td><td><mark style="color:red;"><code>DELETE</code></mark></td></tr></tbody></table>

**Header**

<table><thead><tr><th width="222"></th><th></th></tr></thead><tbody><tr><td><strong>Key</strong></td><td><strong>Value</strong></td></tr><tr><td>X-M2M-Origin</td><td><mark style="color:red;"><code>antares-access-key</code></mark></td></tr><tr><td>Content-Type</td><td><mark style="color:red;"><code>application/json</code></mark></td></tr><tr><td>Accept</td><td><mark style="color:red;"><code>application/json</code></mark></td></tr></tbody></table>
{% endtab %}

{% tab title="XML" %}

<table data-header-hidden><thead><tr><th width="118"></th><th width="569.3333333333334"></th></tr></thead><tbody><tr><td><strong>Field</strong></td><td><strong>Value</strong></td></tr><tr><td>URL</td><td><mark style="color:red;"><code>https://platform.antares.id:8443/~/antares-cse/antares-id/your-application-name/subscriber-name</code></mark><br>or<br><mark style="color:red;"><code>https://platform.antares.id:8443/~/antares-cse/your-subscriber-ID</code></mark><br><br>Note: <mark style="color:red;"><code>your-subscriber-ID</code></mark> must be starting <mark style="color:red;"><code>sub</code></mark>. e.g. <mark style="color:red;"><code>sub-123456789</code></mark></td></tr><tr><td>Method</td><td><mark style="color:red;"><code>DELETE</code></mark></td></tr></tbody></table>

**Header**

<table><thead><tr><th width="222"></th><th></th></tr></thead><tbody><tr><td><strong>Key</strong></td><td><strong>Value</strong></td></tr><tr><td>X-M2M-Origin</td><td><mark style="color:red;"><code>antares-access-key</code></mark></td></tr><tr><td>Content-Type</td><td><mark style="color:red;"><code>application/xml</code></mark></td></tr><tr><td>Accept</td><td><mark style="color:red;"><code>application/xml</code></mark></td></tr></tbody></table>
{% endtab %}
{% endtabs %}

### **Delete Subscriber of Device**

{% tabs %}
{% tab title="JSON" %}

<table data-header-hidden><thead><tr><th width="118"></th><th width="569.3333333333334"></th></tr></thead><tbody><tr><td><strong>Field</strong></td><td><strong>Value</strong></td></tr><tr><td>URL</td><td><p><mark style="color:red;"><code>https://platform.antares.id:8443/~/antares-cse/antares-id/your-application-name/your-device-name/subscriber-name</code></mark><br>or<br><mark style="color:red;"><code>https://platform.antares.id:8443/~/antares-cse/your-subscriber-ID</code></mark></p><p><br>Note: <mark style="color:red;"><code>your-subscriber-ID</code></mark> must be starting with <mark style="color:red;"><code>sub</code></mark>. e.g. <mark style="color:red;"><code>sub-123456789</code></mark></p></td></tr><tr><td>Method</td><td><mark style="color:red;"><code>DELETE</code></mark></td></tr></tbody></table>

**Header**

<table><thead><tr><th width="222"></th><th></th></tr></thead><tbody><tr><td><strong>Key</strong></td><td><strong>Value</strong></td></tr><tr><td>X-M2M-Origin</td><td><mark style="color:red;"><code>antares-access-key</code></mark></td></tr><tr><td>Content-Type</td><td><mark style="color:red;"><code>application/json</code></mark></td></tr><tr><td>Accept</td><td><mark style="color:red;"><code>application/json</code></mark></td></tr></tbody></table>
{% endtab %}

{% tab title="XML" %}

<table data-header-hidden><thead><tr><th width="118"></th><th width="569.3333333333334"></th></tr></thead><tbody><tr><td><strong>Field</strong></td><td><strong>Value</strong></td></tr><tr><td>URL</td><td><p><mark style="color:red;"><code>https://platform.antares.id:8443/~/antares-cse/antares-id/your-application-name/your-device-name/subscriber-name</code></mark><br>or<br><mark style="color:red;"><code>https://platform.antares.id:8443/~/antares-cse/your-subscriber-ID</code></mark></p><p><br>Note: <mark style="color:red;"><code>your-subscriber-ID</code></mark> must be starting with <mark style="color:red;"><code>sub</code></mark>. e.g. <mark style="color:red;"><code>sub-123456789</code></mark></p></td></tr><tr><td>Method</td><td><mark style="color:red;"><code>DELETE</code></mark></td></tr></tbody></table>

**Header**

<table><thead><tr><th width="222"></th><th></th></tr></thead><tbody><tr><td><strong>Key</strong></td><td><strong>Value</strong></td></tr><tr><td>X-M2M-Origin</td><td><mark style="color:red;"><code>antares-access-key</code></mark></td></tr><tr><td>Content-Type</td><td><mark style="color:red;"><code>application/xml</code></mark></td></tr><tr><td>Accept</td><td><mark style="color:red;"><code>application/xml</code></mark></td></tr></tbody></table>
{% endtab %}
{% endtabs %}
