> ## Documentation Index
> Fetch the complete documentation index at: https://finance.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Settings & Clients

> Manage settings and OAuth2 clients with the Go SDK

## Overview

Manage user settings, global configuration, and OAuth2 client applications.

## Settings API

### GetUserSettings(category string)

```go theme={null}
settings, err := client.Settings.GetUserSettings("trading")
```

### UpdateUserSetting(category, key string, value interface{})

```go theme={null}
err := client.Settings.UpdateUserSetting("trading", "default_quantity", 100)
```

### ResetUserSettings(category string)

```go theme={null}
err := client.Settings.ResetUserSettings("trading")
```

## Clients API (OAuth2)

### GetClients()

```go theme={null}
clients, err := client.OAuthClients.GetClients()
```

### CreateClient(params \*ClientCreateParams)

```go theme={null}
oauthClient, err := client.OAuthClients.CreateClient(&aries.ClientCreateParams{
    Name:         "My Trading App",
    RedirectURIs: []string{"https://myapp.com/callback"},
})
```

### UpdateClient(clientID string, updates \*ClientUpdate)

```go theme={null}
err := client.OAuthClients.UpdateClient(clientID, &aries.ClientUpdate{
    Name: "Updated App Name",
})
```

### DeleteClient(clientID string)

```go theme={null}
err := client.OAuthClients.DeleteClient(clientID)
```
