docs/DirectorApi.md in fastly-5.3.1 vs docs/DirectorApi.md in fastly-6.0.0
- old
+ new
@@ -12,10 +12,11 @@
| ------ | ------------ | ----------- |
| [**create_director**](DirectorApi.md#create_director) | **POST** /service/{service_id}/version/{version_id}/director | Create a director |
| [**delete_director**](DirectorApi.md#delete_director) | **DELETE** /service/{service_id}/version/{version_id}/director/{director_name} | Delete a director |
| [**get_director**](DirectorApi.md#get_director) | **GET** /service/{service_id}/version/{version_id}/director/{director_name} | Get a director |
| [**list_directors**](DirectorApi.md#list_directors) | **GET** /service/{service_id}/version/{version_id}/director | List directors |
+| [**update_director**](DirectorApi.md#update_director) | **PUT** /service/{service_id}/version/{version_id}/director/{director_name} | Update a director |
## `create_director()`
```ruby
@@ -187,8 +188,49 @@
| **version_id** | **Integer** | Integer identifying a service version. | |
### Return type
[**Array<DirectorResponse>**](DirectorResponse.md)
+
+[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
+[[Back to README]](../../README.md)
+## `update_director()`
+
+```ruby
+update_director(opts): <DirectorResponse> # Update a director
+```
+
+Update the director for a particular service and version.
+
+### Examples
+
+```ruby
+api_instance = Fastly::DirectorApi.new
+opts = {
+ service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
+ version_id: 56, # Integer | Integer identifying a service version.
+ director_name: 'director_name_example', # String | Name for the Director.
+}
+
+begin
+ # Update a director
+ result = api_instance.update_director(opts)
+ p result
+rescue Fastly::ApiError => e
+ puts "Error when calling DirectorApi->update_director: #{e}"
+end
+```
+
+### Options
+
+| Name | Type | Description | Notes |
+| ---- | ---- | ----------- | ----- |
+| **service_id** | **String** | Alphanumeric string identifying the service. | |
+| **version_id** | **Integer** | Integer identifying a service version. | |
+| **director_name** | **String** | Name for the Director. | |
+
+### Return type
+
+[**DirectorResponse**](DirectorResponse.md)
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to README]](../../README.md)