> This page is for API, version 2026-01-01 (Stable) (default).
> For other versions, use one of these documentation indexes:
> - 2026-01-01 (Stable) (default): https://docs.deel.wtf/api/stable/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.deel.wtf/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.deel.wtf/_mcp/server.

# Update an app

PATCH https://api.letsdeel.com/rest/apps/{app_id}
Content-Type: application/json

Changes the name, description, website or redirect URLs of an integration app that belongs to your organization. Send only the fields you want to change; the redirect URLs you send replace the current list. Returns the updated app.

 **Token scopes**: `apps:write`

 **Beta**: this version requires the `X-Beta: true` request header and its contract may change before it is promoted to stable. It is scheduled to become stable on 2027-02-02.

Reference: https://docs.deel.wtf/api/reference/endpoints/apps/update-app-by-id-v-2026-11-02

## Authentication

- `Authorization` header (bearer token, required) — ## Authentication The Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail. ```curl curl -X GET 'https://api.deel.training/rest/v2/contracts' \ -H 'Authorization: Bearer YOUR-TOKEN-HERE' ``` [Learn more about authentication](/api/authentication)
- `Authorization` header (bearer token, required) — Standard OAuth2 security scheme based on https://swagger.io/docs/specification/authentication/

## Servers

- `https://api.letsdeel.com/rest` (Production, default)
- `https://api-staging.letsdeel.com/rest` (Demo)

## Request

### Path parameters

- `app_id` (string, required) — Unique identifier of the app.

### Headers

- `X-Beta` (enum, required, default: true) — Opts in to the beta version of this endpoint. Must be `true`.
  - Allowed values: `true`

### Body (application/json)

This endpoint expects an object.

- `data` (AppsAppIdPatchRequestBodyContentApplicationJsonSchemaData, required) — The fields to change. Send at least one; fields you leave out keep their value.

## Response

### 200

The updated app.

- `data` (AppsAppIdPatchResponsesContentApplicationJsonSchemaData, required) — An app that belongs to your organization.

## Errors

### 400 Bad Request Error

Bad Request. No field was sent, a field is invalid or cannot be changed, or a redirect URL is not allowed.

- `errors` (list of AppsAppIdPatchResponsesContentApplicationJsonSchemaErrorsItems, required) — The list of errors that caused the request to fail.

### 401 Unauthorized Error

Unauthorized. Authentication credentials were missing or invalid.

- `errors` (list of AppsAppIdPatchResponsesContentApplicationJsonSchemaErrorsItems, required) — The list of errors that caused the request to fail.

### 403 Forbidden Error

Forbidden. You do not have permission to access this resource.

- `errors` (list of AppsAppIdPatchResponsesContentApplicationJsonSchemaErrorsItems, required) — The list of errors that caused the request to fail.

### 404 Not Found Error

Not Found. No app with this id belongs to your organization.

- `errors` (list of AppsAppIdPatchResponsesContentApplicationJsonSchemaErrorsItems, required) — The list of errors that caused the request to fail.

### 429 Too Many Requests Error

Too Many Requests. The rate limit has been exceeded.

- `errors` (list of AppsAppIdPatchResponsesContentApplicationJsonSchemaErrorsItems, required) — The list of errors that caused the request to fail.

### 500 Internal Server Error

Internal Server Error. An unexpected error occurred.

- `errors` (list of AppsAppIdPatchResponsesContentApplicationJsonSchemaErrorsItems, required) — The list of errors that caused the request to fail.

## Types

### AppsAppIdPatchRequestBodyContentApplicationJsonSchemaData

The fields to change. Send at least one; fields you leave out keep their value.

- `name` (string, optional) — New name of the app.
- `description` (string, optional) — New description of the app.
- `website_url` (string, optional) — New website of the app. Must use https.
- `redirect_uris` (list of string, optional) — New list of redirect URLs. It replaces the current list. At most 10, no duplicates, https only (http is accepted for 127.0.0.1 and [::1] outside production).

### AppsAppIdPatchResponsesContentApplicationJsonSchemaData

An app that belongs to your organization.

- `id` (string, required) — Unique identifier of the app.
- `name` (string, required) — Name of the app.
- `type` (enum, required) — Kind of app. Integration apps connect your organization to Deel.
  - Allowed values: `integration`
- `audience` (enum, required) — Whom the app acts for: `personal` for the user who authorizes it, `organization` for the organization.
  - Allowed values: `personal`, `organization`
- `logo_url` (string, required) — URL of the app logo. Empty when the app has no logo.
- `api_access` (enum, required) — Whether API access is switched on for the app: `disabled` after the app is disabled, by you or by Deel, until it is enabled again.
  - Allowed values: `enabled`, `disabled`
- `created_at` (string, required) — Time at which the app was created.
- `created_by` (AppsAppIdPatchResponsesContentApplicationJsonSchemaDataCreatedBy, required, nullable) — Who created the app, or null when unknown.
- `updated_at` (string, required) — Time at which the app was last updated.
- `client_type` (enum, required) — Whether the app can keep a secret. `confidential` apps authenticate with a client secret.
  - Allowed values: `public`, `confidential`
- `description` (string, required) — What the app does. Empty when none was set.
- `website_url` (string, required) — Website of the app. Empty when none was set.
- `redirect_uris` (list of string, required) — URLs Deel may send the user back to after they authorize the app.

### AppsAppIdPatchResponsesContentApplicationJsonSchemaErrorsItems

- `code` (string, required) — Machine-readable error code.
- `message` (string, required) — Human-readable description of the error.
- `details` (AppsAppIdPatchResponsesContentApplicationJsonSchemaErrorsItemsDetails, optional) — Additional information about the error, when available.

### AppsAppIdPatchResponsesContentApplicationJsonSchemaDataCreatedBy

Who created the app, or null when unknown.

- `name` (string, required, nullable) — Name of the person who created the app.
- `status` (enum, required) — Whether the creator still belongs to your organization (`active`) or no longer does (`left`).
  - Allowed values: `active`, `left`

### AppsAppIdPatchResponsesContentApplicationJsonSchemaErrorsItemsDetails

Additional information about the error, when available.

## Examples

**Request**

```json
{}
```

**Response**

```json
{
  "data": {
    "id": "00000000-0000-0000-0000-000000000000",
    "name": "Payroll sync",
    "type": "integration",
    "audience": "organization",
    "logo_url": "https://cdn.example.com/logo.png",
    "api_access": "enabled",
    "created_at": "2024-01-01T12:00:00Z",
    "created_by": {
      "name": "Ada Lovelace",
      "status": "active"
    },
    "updated_at": "2024-01-02T12:00:00Z",
    "client_type": "confidential",
    "description": "Syncs approved timesheets to our payroll system.",
    "website_url": "https://example.com",
    "redirect_uris": [
      "https://example.com/oauth/callback"
    ]
  }
}
```

**SDK Code**

```python
import requests

url = "https://api.letsdeel.com/rest/apps/00000000-0000-0000-0000-000000000000"

payload = {}
headers = {
    "X-Beta": "true",
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.patch(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.letsdeel.com/rest/apps/00000000-0000-0000-0000-000000000000';
const options = {
  method: 'PATCH',
  headers: {
    'X-Beta': 'true',
    Authorization: 'Bearer <token>',
    'Content-Type': 'application/json'
  },
  body: '{}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.letsdeel.com/rest/apps/00000000-0000-0000-0000-000000000000"

	payload := strings.NewReader("{}")

	req, _ := http.NewRequest("PATCH", url, payload)

	req.Header.Add("X-Beta", "true")
	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.letsdeel.com/rest/apps/00000000-0000-0000-0000-000000000000")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Patch.new(url)
request["X-Beta"] = 'true'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.patch("https://api.letsdeel.com/rest/apps/00000000-0000-0000-0000-000000000000")
  .header("X-Beta", "true")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('PATCH', 'https://api.letsdeel.com/rest/apps/00000000-0000-0000-0000-000000000000', [
  'body' => '{}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
    'X-Beta' => 'true',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.letsdeel.com/rest/apps/00000000-0000-0000-0000-000000000000");
var request = new RestRequest(Method.PATCH);
request.AddHeader("X-Beta", "true");
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "X-Beta": "true",
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.letsdeel.com/rest/apps/00000000-0000-0000-0000-000000000000")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "PATCH"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```