# Connectivity

## Directory

### Services

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/connectivity">connectivity</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/connectivity#DirectoryServiceNewResponse">DirectoryServiceNewResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/connectivity">connectivity</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/connectivity#DirectoryServiceUpdateResponse">DirectoryServiceUpdateResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/connectivity">connectivity</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/connectivity#DirectoryServiceListResponse">DirectoryServiceListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/connectivity">connectivity</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/connectivity#DirectoryServiceGetResponse">DirectoryServiceGetResponse</a>

Methods:

- <code title="post /accounts/{account_id}/connectivity/directory/services">client.Connectivity.Directory.Services.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/connectivity#DirectoryServiceService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/connectivity">connectivity</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/connectivity#DirectoryServiceNewParams">DirectoryServiceNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/connectivity">connectivity</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/connectivity#DirectoryServiceNewResponse">DirectoryServiceNewResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="put /accounts/{account_id}/connectivity/directory/services/{service_id}">client.Connectivity.Directory.Services.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/connectivity#DirectoryServiceService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, serviceID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/connectivity">connectivity</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/connectivity#DirectoryServiceUpdateParams">DirectoryServiceUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/connectivity">connectivity</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/connectivity#DirectoryServiceUpdateResponse">DirectoryServiceUpdateResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/connectivity/directory/services">client.Connectivity.Directory.Services.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/connectivity#DirectoryServiceService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/connectivity">connectivity</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/connectivity#DirectoryServiceListParams">DirectoryServiceListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#V4PagePaginationArray">V4PagePaginationArray</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/connectivity">connectivity</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/connectivity#DirectoryServiceListResponse">DirectoryServiceListResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/connectivity/directory/services/{service_id}">client.Connectivity.Directory.Services.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/connectivity#DirectoryServiceService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, serviceID <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/connectivity">connectivity</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/connectivity#DirectoryServiceDeleteParams">DirectoryServiceDeleteParams</a>) <a href="https://pkg.go.dev/builtin#error">error</a></code>
- <code title="get /accounts/{account_id}/connectivity/directory/services/{service_id}">client.Connectivity.Directory.Services.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/connectivity#DirectoryServiceService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, serviceID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/connectivity">connectivity</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/connectivity#DirectoryServiceGetParams">DirectoryServiceGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/connectivity">connectivity</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/connectivity#DirectoryServiceGetResponse">DirectoryServiceGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
