# Update settings.

`PUT /api/integration-entity-setting/integration/{id}`

Authentication: no security requirement declared for this operation.

Parameters:

- `id` (path, string, required)
  Type: string

Responses:

- 200: Update settings

Content type: application/json

Type: object

Schema: [IntegrationEntitySetting](https://sourcey-gauzy.pages.dev/api-reference/models/integrationentitysetting/index.md)

- `deletedAt` (optional)
  Type: string, date-time
  
  Example:
  
  ```json
  "2018-11-21T06:20:32.232Z"
  ```

- `createdAt` (optional)
  Type: string, date-time
  
  The creation timestamp of the entity.
  
  Example:
  
  ```json
  "2018-11-21T06:20:32.232Z"
  ```

- `updatedAt` (optional)
  Type: string, date-time
  
  The last update timestamp of the entity.
  
  Example:
  
  ```json
  "2018-11-21T06:20:32.232Z"
  ```

- `id` (optional)
  Type: string

- `isActive` (optional)
  Type: boolean
  
  default: true

- `isArchived` (optional)
  Type: boolean
  
  default: false

- `archivedAt` (optional)
  Type: string, date-time
  
  Example:
  
  ```json
  "2018-11-21T06:20:32.232Z"
  ```

- `tenantId` (optional)
  Type: string

- `organizationId` (optional)
  Type: string

- `entity` (required)
  Type: string
  
  enum: ["Project","Organization","Note","Client","Task","Issue","Label","Activity","User","Employee","TimeLog","TimeSlot","Screenshot","Income","Expense","Proposal","JOB_MATCHING","EMPLOYEE_PERFORMANCE"]

- `sync` (required)
  Type: boolean

- `integration` (optional)
  Reference: [IntegrationTenant](https://sourcey-gauzy.pages.dev/api-reference/models/integrationtenant/index.md); Type: object

- `integrationId` (required)
  Type: string

- 404: Record not found

## Examples

### cURL

```bash
curl -X PUT 'http://localhost:3000/api/integration-entity-setting/integration/string'
```

### JavaScript

```javascript
const response = await fetch('http://localhost:3000/api/integration-entity-setting/integration/string', {
  method: 'PUT',
});

const data = await response.text();
```

### Python

```python
import requests

response = requests.put('http://localhost:3000/api/integration-entity-setting/integration/string')
print(response.text)
```
