# Deactiveer tool

DELETE / GET / PATCH /tools/{id}

## DELETE Deactiveer tool

Scope: tools:write

Voorbeeldbash

```
curl -X DELETE https://api.tooltagger.com/v1/tools/{id} \
  -H "Authorization: Bearer $TOOLTAGGER_API_KEY"
```

### Parameters

| Naam | In | Type | Toelichting |
| --- | --- | --- | --- |
| `id` *verplicht* | path | string |  |

### Antwoorden

| Status | Betekenis |
| --- | --- |
| `200` | OK |

## GET Haal tool op

Scope: tools:read

Voorbeeldbash

```
curl https://api.tooltagger.com/v1/tools/{id} \
  -H "Authorization: Bearer $TOOLTAGGER_API_KEY"
```

### Parameters

| Naam | In | Type | Toelichting |
| --- | --- | --- | --- |
| `id` *verplicht* | path | string |  |

### Antwoorden

| Status | Betekenis |
| --- | --- |
| `200` | OK |
| `404` |  |

## PATCH Werk tool bij

Scope: tools:write. Velden: name, status, validity\_date, location\_id, category\_id, inactive, custom\_fields.

Voorbeeldbash

```
curl -X PATCH https://api.tooltagger.com/v1/tools/{id} \
  -H "Authorization: Bearer $TOOLTAGGER_API_KEY"
```

### Parameters

| Naam | In | Type | Toelichting |
| --- | --- | --- | --- |
| `id` *verplicht* | path | string |  |

### Antwoorden

| Status | Betekenis |
| --- | --- |
| `200` | OK |

Loop je vast op een koppeling?

Mail [contact@tooltagger.com](mailto:contact@tooltagger.com) met het `request_id` uit de foutmelding, dan zoeken we het request voor je op.
