# PUT Missing Posts

## PUT Missing Posts

<mark style="color:orange;">`PUT`</mark> `https://api.cakes.com/missing/posts/:id`

This endpoint allows you to edit missing pet.

#### Path Parameters

| Name | Type   | Description                 |
| ---- | ------ | --------------------------- |
| id   | string | missing id you want to edit |

#### Request Body

| Name               | Type   | Description                   |
| ------------------ | ------ | ----------------------------- |
| missing\_status    | string | Current missing status        |
| contents           | string | contents of post              |
| title              | string | title of post                 |
| video\_url         | string | video of missing pet          |
| image\_url         | string | image of missing pet          |
| missing\_latitude  | string | latitude of missing location  |
| missing\_longitude | string | longitude of missing location |
| pet\_id            | string | Missing pet id                |
| missing\_location  | string | Location of missing pet       |

{% tabs %}
{% tab title="200 Missing pet info successfully edited." %}

```
{    "message": "Success put missing pet info edit"}
```

{% endtab %}

{% tab title="500 Could not find the pet info." %}

```
{    "message": "Missing post edit error"}
```

{% endtab %}
{% endtabs %}
