> For the complete documentation index, see [llms.txt](https://docs.therocketcad.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.therocketcad.com/developers/mdt-functions/update-unit-status.md).

# Update Unit Status

## Update Unit Status

<mark style="color:green;">`POST`</mark> `https://therocketcad.com/api/1.1/wf/cad_updatestatus`

This endpoint will update the status of a unit.

#### Request Body

| Name        | Type   | Description                                                                                   |
| ----------- | ------ | --------------------------------------------------------------------------------------------- |
| Status      | string | The status you which to set the unit to (Must match the options under Owner Panel > 10 Codes) |
| Identifier  | string | The identifier of the unit                                                                    |
| ServerID    | string | The ID of your Server (Owner Panel > FiveM Integration)                                       |
| CommunityID | string | The ID of your Community (Found on therocketcad.com/integrate)                                |

{% tabs %}
{% tab title="200 Status successfully modified" %}

```
Status successfully modified!
```

{% endtab %}

{% tab title="400 " %}

```
ERROR
```

{% endtab %}
{% endtabs %}
