# Delete one method of a tool you built

> Delete one method of a private tool while keeping its remaining methods.

Source: https://docs.fous.com/api-reference/deleteOwnToolMethod

`DELETE /v1/tools/{api}/methods/{method_id}`

Removes one method; the tool stays with its others, and is archived when none remain. Needs tools:write.

Authentication: `Authorization: Bearer $FOUS_API_KEY`.

## Path parameters

- `api` (string, required)
- `method_id` (integer, required)

## Response 200

Success

- `success` (true, required)
- `data` (object, required)
  - `api` (string, required)
  - `method_id` (integer, required)
  - `remaining_methods` (integer, required)
  - `api_archived` (boolean, required)

## Errors

Every error uses the Error schema: branch on `error.code`. Codes are listed at https://docs.fous.com/guides/errors.

- 400
- 401 (headers: WWW-Authenticate)
- 402
- 403
- 404
- 408
- 409
- 410
- 413
- 422
- 429 (headers: Retry-After)
- 500
- 502
- 503 (headers: Retry-After)
- 504

## Example request

```bash
curl 'https://api.fous.com/v1/tools/{api}/methods/{method_id}' \
  -X DELETE \
  -H "Authorization: Bearer $FOUS_API_KEY"
```
