This method allows you to edit an existing excluded file rule within a project.

## URL

```
/projects/<project>/excluded_file/<identifier>
```

* Replace `<project>` with either the `permalink` or `identifier` of the project.
* Replace `<identifier>` with the identifier of the excluded file

## HTTP Method

```
PUT
```

## Supported Parameters

* `path` - the full path and name of the config file (required)
* `servers` - an array of server identifiers to apply the excluded file rule to
* `all_servers` - If the excluded file rule should apply to all servers set to true, otherwise send an array of `server_identifiers` (optional)

## Example cURL Request

```bash
curl -H "Content-type: application/json" \
-H "Accept: application/json" \
--user adam@atechmedia.com:my-api-key \
-X PUT \
-d '{ \
  "config_file":{ \
    "path":"node_modules/**", \ 
    "servers":[] \
  } \
}' \
https://atech.deployhq.com/projects/api-created/excluded_files/ade7a338-c326-4a0c-9010-262541894656
```

## Example response

```json
{
  "identifier":"ade7a338-c326-4a0c-9010-262541894656",
  "path":"node_modules/**",
  "servers":[]
}
```