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 |
