# 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 %}
