---
title: "UpdateOAuthApplicationBody"
description: "Request body for updating an OAuthApplication."
section: "Reference"
group: "Types"
order: 156
---

## Definition

```ts
interface UpdateOAuthApplicationBody {
  name?: string | undefined;
  redirectUrls?: Array<string> | undefined;
  allowedScopes?: Array<"workspace:read" | "workspace:write"> | undefined;
}
```

## Fields

| Field           | Type                                                        | Notes      |
| --------------- | ----------------------------------------------------------- | ---------- |
| `name`          | `string \| undefined`                                       | `optional` |
| `redirectUrls`  | `Array<string> \| undefined`                                | `optional` |
| `allowedScopes` | `Array<"workspace:read" \| "workspace:write"> \| undefined` | `optional` |
