# Partially update plugin

`PATCH /api/plugins/{id}`

Partially updates an existing plugin record with only the provided fields.

Authentication (security requirement alternatives):

```json
[
  {
    "api_key": []
  },
  {
    "Bearer": []
  }
]
```

- api_key
- Bearer

Parameters:

- `id` (path, string, uuid, required) - UUID of the plugin to update
  Type: string, uuid

Request body: application/json (required)

Partial plugin metadata to update

Type: object

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

- `name` (optional)
  Type: string
  
  Plugin name

- `description` (optional)
  Type: string
  
  Plugin description

- `type` (optional)
  Type: string
  
  Type of the plugin
  
  enum: ["DESKTOP","WEB","MOBILE"]

- `status` (optional)
  Type: string
  
  Status of the plugin
  
  enum: ["ACTIVE","INACTIVE","DEPRECATED","ARCHIVED"]

- `isActive` (optional)
  Type: boolean
  
  Plugin is active or not
  
  default: false

- `categoryId` (optional)
  Type: string
  
  Plugin category ID

- `author` (optional)
  Type: string
  
  Author

- `license` (optional)
  Type: string
  
  License

- `homepage` (optional)
  Type: string
  
  Homepage URL

- `repository` (optional)
  Type: string
  
  Repository URL

- `tags` (optional)
  Type: array
  
  Plugin tags
  
  Items:
    Type: string

- `requiresSubscription` (optional)
  Type: boolean
  
  Is subscription plan enabled
  
  default: false

- `uploadedById` (optional)
  Type: string
  
  ID of user who uploaded the plugin

- `id` (required)
  Type: string
  
  Unique identifier for the plugin
  
  Example:
  
  ```json
  "123e4567-e89b-12d3-a456-426614174000"
  ```

- `version` (optional)
  Type: unknown
  
  Updated version details for the plugin
  
  allOf:
    Reference: [UpdatePluginVersionDTO](https://sourcey-gauzy.pages.dev/api-reference/models/updatepluginversiondto/index.md); Type: object

- `subscriptionPlans` (optional)
  Type: array
  
  Subscription plans to create or update. Plans with an id will be updated, plans without an id will be created
  
  Items:
    Reference: [UpdatePluginSubscriptionPlanDTO](https://sourcey-gauzy.pages.dev/api-reference/models/updatepluginsubscriptionplandto/index.md); Type: object

Responses:

- 200: Plugin updated successfully.

Content type: application/json

Type: object

Schema: [Plugin_1](https://sourcey-gauzy.pages.dev/api-reference/models/plugin-1/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
  
  Plugin is active or not
  
  default: false

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

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

- `name` (required)
  Type: string
  
  Plugin name

- `description` (optional)
  Type: string
  
  Plugin description

- `type` (required)
  Type: string
  
  Type of the plugin
  
  enum: ["DESKTOP","WEB","MOBILE"]

- `status` (required)
  Type: string
  
  Status of the plugin
  
  enum: ["ACTIVE","INACTIVE","DEPRECATED","ARCHIVED"]

- `categoryId` (optional)
  Type: string
  
  Plugin category ID

- `category` (optional)
  Type: object
  
  Plugin category

- `versions` (required)
  Type: array
  
  Versions of the plugin
  
  Items:
    Type: string

- `author` (optional)
  Type: string
  
  Plugin author

- `license` (optional)
  Type: string
  
  Plugin license

- `homepage` (optional)
  Type: string
  
  Homepage URL

- `repository` (optional)
  Type: string
  
  Repository URL

- `uploadedBy` (optional)
  Type: unknown
  
  User who uploaded the plugin
  
  allOf:
    Reference: [User](https://sourcey-gauzy.pages.dev/api-reference/models/user/index.md); Type: object

- `uploadedAt` (optional)
  Type: string, date-time
  
  Upload date

- `requiresSubscription` (required)
  Type: boolean
  
  Is subscription plan enabled
  
  default: false

- `isFeatured` (required)
  Type: boolean
  
  Whether the plugin is featured
  
  default: false

- `isVerified` (required)
  Type: boolean
  
  Whether the plugin is verified by Gauzy
  
  default: false

- `lastDownloadedAt` (optional)
  Type: string, date-time
  
  Last downloaded date

- `pluginTenants` (optional)
  Type: array
  
  Plugin tenants for this plugin
  
  Items:
    Type: string

- `settings` (optional)
  Type: array
  
  Plugin settings
  
  Items:
    Type: string

- `subscriptions` (optional)
  Type: array
  
  Plugin subscriptions
  
  Items:
    Type: string

- `subscriptionPlans` (optional)
  Type: array
  
  Plugin subscription plans
  
  Items:
    Type: string

- `pluginTags` (optional)
  Type: array
  
  Plugin tag relationships
  
  Items:
    Type: string

- 400: Invalid input provided. Check the response body for error details.

- 401: Unauthorized access.

- 404: Plugin record not found.

## Examples

### cURL

```bash
curl -X PATCH 'http://localhost:3000/api/plugins/550e8400-e29b-41d4-a716-446655440000' \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "name": "string",
  "description": "string",
  "type": "DESKTOP",
  "status": "ACTIVE",
  "isActive": false,
  "categoryId": "string",
  "author": "string",
  "license": "string",
  "homepage": "string",
  "repository": "string",
  "tags": [
    "string"
  ],
  "requiresSubscription": false,
  "uploadedById": "string",
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "version": {
    "isActive": true,
    "isArchived": false,
    "archivedAt": "2018-11-21T06:20:32.232Z",
    "tenantId": "string",
    "organizationId": "string",
    "number": "string",
    "changelog": "string",
    "checksum": "string",
    "signature": "string",
    "releaseDate": "string",
    "installations": [
      {
        "deletedAt": "2018-11-21T06:20:32.232Z",
        "createdAt": "2018-11-21T06:20:32.232Z",
        "updatedAt": "2018-11-21T06:20:32.232Z",
        "id": "string",
        "isActive": true,
        "isArchived": false,
        "archivedAt": "2018-11-21T06:20:32.232Z",
        "tenantId": "string",
        "organizationId": "string",
        "plugin": {
          "deletedAt": "2018-11-21T06:20:32.232Z",
          "createdAt": "2018-11-21T06:20:32.232Z",
          "updatedAt": "2018-11-21T06:20:32.232Z",
          "id": "string",
          "isActive": false,
          "isArchived": false,
          "archivedAt": "2018-11-21T06:20:32.232Z",
          "name": "string",
          "description": "string",
          "type": "DESKTOP",
          "status": "ACTIVE",
          "categoryId": "string",
          "category": {},
          "versions": [
            "string"
          ],
          "author": "string",
          "license": "string",
          "homepage": "string",
          "repository": "string",
          "uploadedBy": {
            "deletedAt": "2018-11-21T06:20:32.232Z",
            "createdAt": "2018-11-21T06:20:32.232Z",
            "updatedAt": "2018-11-21T06:20:32.232Z",
            "id": "string",
            "isActive": true,
            "isArchived": false,
            "archivedAt": "2018-11-21T06:20:32.232Z",
            "tenantId": "string",
            "thirdPartyId": "string",
            "firstName": "string",
            "lastName": "string",
            "email": "string",
            "phoneNumber": "string",
            "username": "string",
            "timeZone": "string",
            "timeFormat": 12,
            "hash": "string",
            "refreshToken": "string",
            "imageUrl": "string",
            "preferredLanguage": "en",
            "preferredComponentLayout": "CARDS_GRID",
            "uiPreferences": {},
            "code": "string",
            "codeExpireAt": "2024-01-15T09:30:00Z",
            "emailVerifiedAt": "2024-01-15T09:30:00Z",
            "lastLoginAt": "2024-01-15T09:30:00Z",
            "emailToken": "string",
            "roleId": "string",
            "imageId": "string",
            "defaultTeamId": "string",
            "lastTeamId": "string",
            "defaultOrganizationId": "string",
            "lastOrganizationId": "string"
          },
          "uploadedAt": "2024-01-15T09:30:00Z",
          "requiresSubscription": false,
          "isFeatured": false,
          "isVerified": false,
          "lastDownloadedAt": "2024-01-15T09:30:00Z",
          "pluginTenants": [
            "string"
          ],
          "settings": [
            "string"
          ],
          "subscriptions": [
            "string"
          ],
          "subscriptionPlans": [
            "string"
          ],
          "pluginTags": [
            "string"
          ]
        },
        "version": {
          "deletedAt": "2018-11-21T06:20:32.232Z",
          "createdAt": "2018-11-21T06:20:32.232Z",
          "updatedAt": "2018-11-21T06:20:32.232Z",
          "id": "string",
          "isActive": true,
          "isArchived": false,
          "archivedAt": "2018-11-21T06:20:32.232Z",
          "tenantId": "string",
          "organizationId": "string",
          "number": "string",
          "changelog": "string",
          "checksum": "string",
          "signature": "string",
          "releaseDate": "string",
          "downloadCount": 0,
          "plugin": {
            "deletedAt": "2018-11-21T06:20:32.232Z",
            "createdAt": "2018-11-21T06:20:32.232Z",
            "updatedAt": "2018-11-21T06:20:32.232Z",
            "id": "string",
            "isActive": false,
            "isArchived": false,
            "archivedAt": "2018-11-21T06:20:32.232Z",
            "name": "string",
            "description": "string",
            "type": "DESKTOP",
            "status": "ACTIVE",
            "categoryId": "string",
            "category": {},
            "versions": [
              "string"
            ],
            "author": "string",
            "license": "string",
            "homepage": "string",
            "repository": "string",
            "uploadedBy": {
              "deletedAt": "2018-11-21T06:20:32.232Z",
              "createdAt": "2018-11-21T06:20:32.232Z",
              "updatedAt": "2018-11-21T06:20:32.232Z",
              "id": "string",
              "isActive": true,
              "isArchived": false,
              "archivedAt": "2018-11-21T06:20:32.232Z",
              "tenantId": "string",
              "thirdPartyId": "string",
              "firstName": "string",
              "lastName": "string",
              "email": "string",
              "phoneNumber": "string",
              "username": "string",
              "timeZone": "string",
              "timeFormat": 12,
              "hash": "string",
              "refreshToken": "string",
              "imageUrl": "string",
              "preferredLanguage": "en",
              "preferredComponentLayout": "CARDS_GRID",
              "uiPreferences": {},
              "code": "string",
              "codeExpireAt": "2024-01-15T09:30:00Z",
              "emailVerifiedAt": "2024-01-15T09:30:00Z",
              "lastLoginAt": "2024-01-15T09:30:00Z",
              "emailToken": "string",
              "roleId": "string",
              "imageId": "string",
              "defaultTeamId": "string",
              "lastTeamId": "string",
              "defaultOrganizationId": "string",
              "lastOrganizationId": "string"
            },
            "uploadedAt": "2024-01-15T09:30:00Z",
            "requiresSubscription": false,
            "isFeatured": false,
            "isVerified": false,
            "lastDownloadedAt": "2024-01-15T09:30:00Z",
            "pluginTenants": [
              "string"
            ],
            "settings": [
              "string"
            ],
            "subscriptions": [
              "string"
            ],
            "subscriptionPlans": [
              "string"
            ],
            "pluginTags": [
              "string"
            ]
          },
          "sources": [
            {
              "deletedAt": "2018-11-21T06:20:32.232Z",
              "createdAt": "2018-11-21T06:20:32.232Z",
              "updatedAt": "2018-11-21T06:20:32.232Z",
              "id": "string",
              "isActive": true,
              "isArchived": false,
              "archivedAt": "2018-11-21T06:20:32.232Z",
              "tenantId": "string",
              "organizationId": "string",
              "type": "CDN",
              "operatingSystem": "LINUX",
              "architecture": "X64",
              "url": "string",
              "integrity": "string",
              "crossOrigin": "string",
              "name": "string",
              "registry": "string",
              "private": false,
              "scope": "string",
              "filePath": "string",
              "fileName": "string",
              "fileSize": 0,
              "mimeType": "string",
              "fileKey": "string",
              "storageProvider": "LOCAL"
            }
          ],
          "installations": []
        },
        "installedBy": {
          "deletedAt": "2018-11-21T06:20:32.232Z",
          "createdAt": "2018-11-21T06:20:32.232Z",
          "updatedAt": "2018-11-21T06:20:32.232Z",
          "id": "string",
          "isActive": true,
          "isArchived": false,
          "archivedAt": "2018-11-21T06:20:32.232Z",
          "tenantId": "string",
          "organizationId": "string",
          "short_description": "string",
          "description": "string",
          "startedWorkOn": "2024-01-15T09:30:00Z",
          "endWork": "2024-01-15T09:30:00Z",
          "payPeriod": "WEEKLY",
          "billRateValue": 0,
          "minimumBillingRate": 0,
          "billRateCurrency": "USD",
          "reWeeklyLimit": 0,
          "offerDate": "2024-01-15T09:30:00Z",
          "acceptDate": "2024-01-15T09:30:00Z",
          "rejectDate": "2024-01-15T09:30:00Z",
          "employeeLevel": "string",
          "anonymousBonus": true,
          "averageIncome": 0,
          "averageBonus": 0,
          "totalWorkHours": 0,
          "averageExpenses": 0,
          "show_anonymous_bonus": true,
          "show_average_bonus": true,
          "show_average_expenses": true,
          "show_average_income": true,
          "show_billrate": true,
          "show_payperiod": true,
          "show_start_work_on": true,
          "isJobSearchActive": true,
          "linkedInUrl": "string",
          "facebookUrl": "string",
          "instagramUrl": "string",
          "twitterUrl": "string",
          "githubUrl": "string",
          "gitlabUrl": "string",
          "upworkUrl": "string",
          "stackoverflowUrl": "string",
          "isVerified": true,
          "isVetted": true,
          "totalJobs": 0,
          "jobSuccess": 0,
          "profile_link": "string",
          "isTrackingEnabled": true,
          "isOnline": true,
          "isAway": false,
          "isTrackingTime": true,
          "allowScreenshotCapture": true,
          "allowManualTime": true,
          "allowModifyTime": true,
          "allowDeleteTime": true,
          "allowAgentAppExit": true,
          "allowLogoutFromAgentApp": true,
          "trackKeyboardMouseActivity": true,
          "trackAllDisplays": true,
          "upworkId": "string",
          "linkedInId": "string",
          "userId": "string",
          "contactId": "string",
          "organizationPositionId": "string"
        },
        "installedAt": "string",
        "uninstalledAt": "string",
        "status": "INSTALLED",
        "isActivated": false,
        "activatedAt": "2024-01-15T09:30:00Z",
        "deactivatedAt": "2024-01-15T09:30:00Z"
      }
    ],
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "sources": [
      {
        "isActive": true,
        "isArchived": false,
        "archivedAt": "2018-11-21T06:20:32.232Z",
        "tenantId": "string",
        "organizationId": "string",
        "type": "CDN",
        "operatingSystem": "LINUX",
        "architecture": "X64",
        "url": "string",
        "integrity": "string",
        "crossOrigin": "string",
        "name": "string",
        "registry": "string",
        "private": false,
        "scope": "string",
        "filePath": "string",
        "fileName": "string",
        "fileSize": 0,
        "mimeType": "string",
        "fileKey": "string",
        "storageProvider": "LOCAL",
        "id": "123e4567-e89b-12d3-a456-426614174000"
      }
    ]
  },
  "subscriptionPlans": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "price": 0,
      "isPopular": true,
      "isRecommended": true,
      "trialDays": 0,
      "setupFee": 0,
      "discountPercentage": 0,
      "name": "string",
      "description": "string",
      "type": "free",
      "currency": "AFN",
      "billingPeriod": "daily",
      "features": [
        "string"
      ],
      "limitations": {},
      "isActive": true,
      "metadata": {},
      "sortOrder": 0
    }
  ]
}'
```

### JavaScript

```javascript
const body = `{
  "name": "string",
  "description": "string",
  "type": "DESKTOP",
  "status": "ACTIVE",
  "isActive": false,
  "categoryId": "string",
  "author": "string",
  "license": "string",
  "homepage": "string",
  "repository": "string",
  "tags": [
    "string"
  ],
  "requiresSubscription": false,
  "uploadedById": "string",
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "version": {
    "isActive": true,
    "isArchived": false,
    "archivedAt": "2018-11-21T06:20:32.232Z",
    "tenantId": "string",
    "organizationId": "string",
    "number": "string",
    "changelog": "string",
    "checksum": "string",
    "signature": "string",
    "releaseDate": "string",
    "installations": [
      {
        "deletedAt": "2018-11-21T06:20:32.232Z",
        "createdAt": "2018-11-21T06:20:32.232Z",
        "updatedAt": "2018-11-21T06:20:32.232Z",
        "id": "string",
        "isActive": true,
        "isArchived": false,
        "archivedAt": "2018-11-21T06:20:32.232Z",
        "tenantId": "string",
        "organizationId": "string",
        "plugin": {
          "deletedAt": "2018-11-21T06:20:32.232Z",
          "createdAt": "2018-11-21T06:20:32.232Z",
          "updatedAt": "2018-11-21T06:20:32.232Z",
          "id": "string",
          "isActive": false,
          "isArchived": false,
          "archivedAt": "2018-11-21T06:20:32.232Z",
          "name": "string",
          "description": "string",
          "type": "DESKTOP",
          "status": "ACTIVE",
          "categoryId": "string",
          "category": {},
          "versions": [
            "string"
          ],
          "author": "string",
          "license": "string",
          "homepage": "string",
          "repository": "string",
          "uploadedBy": {
            "deletedAt": "2018-11-21T06:20:32.232Z",
            "createdAt": "2018-11-21T06:20:32.232Z",
            "updatedAt": "2018-11-21T06:20:32.232Z",
            "id": "string",
            "isActive": true,
            "isArchived": false,
            "archivedAt": "2018-11-21T06:20:32.232Z",
            "tenantId": "string",
            "thirdPartyId": "string",
            "firstName": "string",
            "lastName": "string",
            "email": "string",
            "phoneNumber": "string",
            "username": "string",
            "timeZone": "string",
            "timeFormat": 12,
            "hash": "string",
            "refreshToken": "string",
            "imageUrl": "string",
            "preferredLanguage": "en",
            "preferredComponentLayout": "CARDS_GRID",
            "uiPreferences": {},
            "code": "string",
            "codeExpireAt": "2024-01-15T09:30:00Z",
            "emailVerifiedAt": "2024-01-15T09:30:00Z",
            "lastLoginAt": "2024-01-15T09:30:00Z",
            "emailToken": "string",
            "roleId": "string",
            "imageId": "string",
            "defaultTeamId": "string",
            "lastTeamId": "string",
            "defaultOrganizationId": "string",
            "lastOrganizationId": "string"
          },
          "uploadedAt": "2024-01-15T09:30:00Z",
          "requiresSubscription": false,
          "isFeatured": false,
          "isVerified": false,
          "lastDownloadedAt": "2024-01-15T09:30:00Z",
          "pluginTenants": [
            "string"
          ],
          "settings": [
            "string"
          ],
          "subscriptions": [
            "string"
          ],
          "subscriptionPlans": [
            "string"
          ],
          "pluginTags": [
            "string"
          ]
        },
        "version": {
          "deletedAt": "2018-11-21T06:20:32.232Z",
          "createdAt": "2018-11-21T06:20:32.232Z",
          "updatedAt": "2018-11-21T06:20:32.232Z",
          "id": "string",
          "isActive": true,
          "isArchived": false,
          "archivedAt": "2018-11-21T06:20:32.232Z",
          "tenantId": "string",
          "organizationId": "string",
          "number": "string",
          "changelog": "string",
          "checksum": "string",
          "signature": "string",
          "releaseDate": "string",
          "downloadCount": 0,
          "plugin": {
            "deletedAt": "2018-11-21T06:20:32.232Z",
            "createdAt": "2018-11-21T06:20:32.232Z",
            "updatedAt": "2018-11-21T06:20:32.232Z",
            "id": "string",
            "isActive": false,
            "isArchived": false,
            "archivedAt": "2018-11-21T06:20:32.232Z",
            "name": "string",
            "description": "string",
            "type": "DESKTOP",
            "status": "ACTIVE",
            "categoryId": "string",
            "category": {},
            "versions": [
              "string"
            ],
            "author": "string",
            "license": "string",
            "homepage": "string",
            "repository": "string",
            "uploadedBy": {
              "deletedAt": "2018-11-21T06:20:32.232Z",
              "createdAt": "2018-11-21T06:20:32.232Z",
              "updatedAt": "2018-11-21T06:20:32.232Z",
              "id": "string",
              "isActive": true,
              "isArchived": false,
              "archivedAt": "2018-11-21T06:20:32.232Z",
              "tenantId": "string",
              "thirdPartyId": "string",
              "firstName": "string",
              "lastName": "string",
              "email": "string",
              "phoneNumber": "string",
              "username": "string",
              "timeZone": "string",
              "timeFormat": 12,
              "hash": "string",
              "refreshToken": "string",
              "imageUrl": "string",
              "preferredLanguage": "en",
              "preferredComponentLayout": "CARDS_GRID",
              "uiPreferences": {},
              "code": "string",
              "codeExpireAt": "2024-01-15T09:30:00Z",
              "emailVerifiedAt": "2024-01-15T09:30:00Z",
              "lastLoginAt": "2024-01-15T09:30:00Z",
              "emailToken": "string",
              "roleId": "string",
              "imageId": "string",
              "defaultTeamId": "string",
              "lastTeamId": "string",
              "defaultOrganizationId": "string",
              "lastOrganizationId": "string"
            },
            "uploadedAt": "2024-01-15T09:30:00Z",
            "requiresSubscription": false,
            "isFeatured": false,
            "isVerified": false,
            "lastDownloadedAt": "2024-01-15T09:30:00Z",
            "pluginTenants": [
              "string"
            ],
            "settings": [
              "string"
            ],
            "subscriptions": [
              "string"
            ],
            "subscriptionPlans": [
              "string"
            ],
            "pluginTags": [
              "string"
            ]
          },
          "sources": [
            {
              "deletedAt": "2018-11-21T06:20:32.232Z",
              "createdAt": "2018-11-21T06:20:32.232Z",
              "updatedAt": "2018-11-21T06:20:32.232Z",
              "id": "string",
              "isActive": true,
              "isArchived": false,
              "archivedAt": "2018-11-21T06:20:32.232Z",
              "tenantId": "string",
              "organizationId": "string",
              "type": "CDN",
              "operatingSystem": "LINUX",
              "architecture": "X64",
              "url": "string",
              "integrity": "string",
              "crossOrigin": "string",
              "name": "string",
              "registry": "string",
              "private": false,
              "scope": "string",
              "filePath": "string",
              "fileName": "string",
              "fileSize": 0,
              "mimeType": "string",
              "fileKey": "string",
              "storageProvider": "LOCAL"
            }
          ],
          "installations": []
        },
        "installedBy": {
          "deletedAt": "2018-11-21T06:20:32.232Z",
          "createdAt": "2018-11-21T06:20:32.232Z",
          "updatedAt": "2018-11-21T06:20:32.232Z",
          "id": "string",
          "isActive": true,
          "isArchived": false,
          "archivedAt": "2018-11-21T06:20:32.232Z",
          "tenantId": "string",
          "organizationId": "string",
          "short_description": "string",
          "description": "string",
          "startedWorkOn": "2024-01-15T09:30:00Z",
          "endWork": "2024-01-15T09:30:00Z",
          "payPeriod": "WEEKLY",
          "billRateValue": 0,
          "minimumBillingRate": 0,
          "billRateCurrency": "USD",
          "reWeeklyLimit": 0,
          "offerDate": "2024-01-15T09:30:00Z",
          "acceptDate": "2024-01-15T09:30:00Z",
          "rejectDate": "2024-01-15T09:30:00Z",
          "employeeLevel": "string",
          "anonymousBonus": true,
          "averageIncome": 0,
          "averageBonus": 0,
          "totalWorkHours": 0,
          "averageExpenses": 0,
          "show_anonymous_bonus": true,
          "show_average_bonus": true,
          "show_average_expenses": true,
          "show_average_income": true,
          "show_billrate": true,
          "show_payperiod": true,
          "show_start_work_on": true,
          "isJobSearchActive": true,
          "linkedInUrl": "string",
          "facebookUrl": "string",
          "instagramUrl": "string",
          "twitterUrl": "string",
          "githubUrl": "string",
          "gitlabUrl": "string",
          "upworkUrl": "string",
          "stackoverflowUrl": "string",
          "isVerified": true,
          "isVetted": true,
          "totalJobs": 0,
          "jobSuccess": 0,
          "profile_link": "string",
          "isTrackingEnabled": true,
          "isOnline": true,
          "isAway": false,
          "isTrackingTime": true,
          "allowScreenshotCapture": true,
          "allowManualTime": true,
          "allowModifyTime": true,
          "allowDeleteTime": true,
          "allowAgentAppExit": true,
          "allowLogoutFromAgentApp": true,
          "trackKeyboardMouseActivity": true,
          "trackAllDisplays": true,
          "upworkId": "string",
          "linkedInId": "string",
          "userId": "string",
          "contactId": "string",
          "organizationPositionId": "string"
        },
        "installedAt": "string",
        "uninstalledAt": "string",
        "status": "INSTALLED",
        "isActivated": false,
        "activatedAt": "2024-01-15T09:30:00Z",
        "deactivatedAt": "2024-01-15T09:30:00Z"
      }
    ],
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "sources": [
      {
        "isActive": true,
        "isArchived": false,
        "archivedAt": "2018-11-21T06:20:32.232Z",
        "tenantId": "string",
        "organizationId": "string",
        "type": "CDN",
        "operatingSystem": "LINUX",
        "architecture": "X64",
        "url": "string",
        "integrity": "string",
        "crossOrigin": "string",
        "name": "string",
        "registry": "string",
        "private": false,
        "scope": "string",
        "filePath": "string",
        "fileName": "string",
        "fileSize": 0,
        "mimeType": "string",
        "fileKey": "string",
        "storageProvider": "LOCAL",
        "id": "123e4567-e89b-12d3-a456-426614174000"
      }
    ]
  },
  "subscriptionPlans": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "price": 0,
      "isPopular": true,
      "isRecommended": true,
      "trialDays": 0,
      "setupFee": 0,
      "discountPercentage": 0,
      "name": "string",
      "description": "string",
      "type": "free",
      "currency": "AFN",
      "billingPeriod": "daily",
      "features": [
        "string"
      ],
      "limitations": {},
      "isActive": true,
      "metadata": {},
      "sortOrder": 0
    }
  ]
}`;

const response = await fetch('http://localhost:3000/api/plugins/550e8400-e29b-41d4-a716-446655440000', {
  method: 'PATCH',
  headers: {
    'Content-Type': 'application/json',
  },
  body,
});

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

### Python

```python
import requests

body = '''{
  "name": "string",
  "description": "string",
  "type": "DESKTOP",
  "status": "ACTIVE",
  "isActive": false,
  "categoryId": "string",
  "author": "string",
  "license": "string",
  "homepage": "string",
  "repository": "string",
  "tags": [
    "string"
  ],
  "requiresSubscription": false,
  "uploadedById": "string",
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "version": {
    "isActive": true,
    "isArchived": false,
    "archivedAt": "2018-11-21T06:20:32.232Z",
    "tenantId": "string",
    "organizationId": "string",
    "number": "string",
    "changelog": "string",
    "checksum": "string",
    "signature": "string",
    "releaseDate": "string",
    "installations": [
      {
        "deletedAt": "2018-11-21T06:20:32.232Z",
        "createdAt": "2018-11-21T06:20:32.232Z",
        "updatedAt": "2018-11-21T06:20:32.232Z",
        "id": "string",
        "isActive": true,
        "isArchived": false,
        "archivedAt": "2018-11-21T06:20:32.232Z",
        "tenantId": "string",
        "organizationId": "string",
        "plugin": {
          "deletedAt": "2018-11-21T06:20:32.232Z",
          "createdAt": "2018-11-21T06:20:32.232Z",
          "updatedAt": "2018-11-21T06:20:32.232Z",
          "id": "string",
          "isActive": false,
          "isArchived": false,
          "archivedAt": "2018-11-21T06:20:32.232Z",
          "name": "string",
          "description": "string",
          "type": "DESKTOP",
          "status": "ACTIVE",
          "categoryId": "string",
          "category": {},
          "versions": [
            "string"
          ],
          "author": "string",
          "license": "string",
          "homepage": "string",
          "repository": "string",
          "uploadedBy": {
            "deletedAt": "2018-11-21T06:20:32.232Z",
            "createdAt": "2018-11-21T06:20:32.232Z",
            "updatedAt": "2018-11-21T06:20:32.232Z",
            "id": "string",
            "isActive": true,
            "isArchived": false,
            "archivedAt": "2018-11-21T06:20:32.232Z",
            "tenantId": "string",
            "thirdPartyId": "string",
            "firstName": "string",
            "lastName": "string",
            "email": "string",
            "phoneNumber": "string",
            "username": "string",
            "timeZone": "string",
            "timeFormat": 12,
            "hash": "string",
            "refreshToken": "string",
            "imageUrl": "string",
            "preferredLanguage": "en",
            "preferredComponentLayout": "CARDS_GRID",
            "uiPreferences": {},
            "code": "string",
            "codeExpireAt": "2024-01-15T09:30:00Z",
            "emailVerifiedAt": "2024-01-15T09:30:00Z",
            "lastLoginAt": "2024-01-15T09:30:00Z",
            "emailToken": "string",
            "roleId": "string",
            "imageId": "string",
            "defaultTeamId": "string",
            "lastTeamId": "string",
            "defaultOrganizationId": "string",
            "lastOrganizationId": "string"
          },
          "uploadedAt": "2024-01-15T09:30:00Z",
          "requiresSubscription": false,
          "isFeatured": false,
          "isVerified": false,
          "lastDownloadedAt": "2024-01-15T09:30:00Z",
          "pluginTenants": [
            "string"
          ],
          "settings": [
            "string"
          ],
          "subscriptions": [
            "string"
          ],
          "subscriptionPlans": [
            "string"
          ],
          "pluginTags": [
            "string"
          ]
        },
        "version": {
          "deletedAt": "2018-11-21T06:20:32.232Z",
          "createdAt": "2018-11-21T06:20:32.232Z",
          "updatedAt": "2018-11-21T06:20:32.232Z",
          "id": "string",
          "isActive": true,
          "isArchived": false,
          "archivedAt": "2018-11-21T06:20:32.232Z",
          "tenantId": "string",
          "organizationId": "string",
          "number": "string",
          "changelog": "string",
          "checksum": "string",
          "signature": "string",
          "releaseDate": "string",
          "downloadCount": 0,
          "plugin": {
            "deletedAt": "2018-11-21T06:20:32.232Z",
            "createdAt": "2018-11-21T06:20:32.232Z",
            "updatedAt": "2018-11-21T06:20:32.232Z",
            "id": "string",
            "isActive": false,
            "isArchived": false,
            "archivedAt": "2018-11-21T06:20:32.232Z",
            "name": "string",
            "description": "string",
            "type": "DESKTOP",
            "status": "ACTIVE",
            "categoryId": "string",
            "category": {},
            "versions": [
              "string"
            ],
            "author": "string",
            "license": "string",
            "homepage": "string",
            "repository": "string",
            "uploadedBy": {
              "deletedAt": "2018-11-21T06:20:32.232Z",
              "createdAt": "2018-11-21T06:20:32.232Z",
              "updatedAt": "2018-11-21T06:20:32.232Z",
              "id": "string",
              "isActive": true,
              "isArchived": false,
              "archivedAt": "2018-11-21T06:20:32.232Z",
              "tenantId": "string",
              "thirdPartyId": "string",
              "firstName": "string",
              "lastName": "string",
              "email": "string",
              "phoneNumber": "string",
              "username": "string",
              "timeZone": "string",
              "timeFormat": 12,
              "hash": "string",
              "refreshToken": "string",
              "imageUrl": "string",
              "preferredLanguage": "en",
              "preferredComponentLayout": "CARDS_GRID",
              "uiPreferences": {},
              "code": "string",
              "codeExpireAt": "2024-01-15T09:30:00Z",
              "emailVerifiedAt": "2024-01-15T09:30:00Z",
              "lastLoginAt": "2024-01-15T09:30:00Z",
              "emailToken": "string",
              "roleId": "string",
              "imageId": "string",
              "defaultTeamId": "string",
              "lastTeamId": "string",
              "defaultOrganizationId": "string",
              "lastOrganizationId": "string"
            },
            "uploadedAt": "2024-01-15T09:30:00Z",
            "requiresSubscription": false,
            "isFeatured": false,
            "isVerified": false,
            "lastDownloadedAt": "2024-01-15T09:30:00Z",
            "pluginTenants": [
              "string"
            ],
            "settings": [
              "string"
            ],
            "subscriptions": [
              "string"
            ],
            "subscriptionPlans": [
              "string"
            ],
            "pluginTags": [
              "string"
            ]
          },
          "sources": [
            {
              "deletedAt": "2018-11-21T06:20:32.232Z",
              "createdAt": "2018-11-21T06:20:32.232Z",
              "updatedAt": "2018-11-21T06:20:32.232Z",
              "id": "string",
              "isActive": true,
              "isArchived": false,
              "archivedAt": "2018-11-21T06:20:32.232Z",
              "tenantId": "string",
              "organizationId": "string",
              "type": "CDN",
              "operatingSystem": "LINUX",
              "architecture": "X64",
              "url": "string",
              "integrity": "string",
              "crossOrigin": "string",
              "name": "string",
              "registry": "string",
              "private": false,
              "scope": "string",
              "filePath": "string",
              "fileName": "string",
              "fileSize": 0,
              "mimeType": "string",
              "fileKey": "string",
              "storageProvider": "LOCAL"
            }
          ],
          "installations": []
        },
        "installedBy": {
          "deletedAt": "2018-11-21T06:20:32.232Z",
          "createdAt": "2018-11-21T06:20:32.232Z",
          "updatedAt": "2018-11-21T06:20:32.232Z",
          "id": "string",
          "isActive": true,
          "isArchived": false,
          "archivedAt": "2018-11-21T06:20:32.232Z",
          "tenantId": "string",
          "organizationId": "string",
          "short_description": "string",
          "description": "string",
          "startedWorkOn": "2024-01-15T09:30:00Z",
          "endWork": "2024-01-15T09:30:00Z",
          "payPeriod": "WEEKLY",
          "billRateValue": 0,
          "minimumBillingRate": 0,
          "billRateCurrency": "USD",
          "reWeeklyLimit": 0,
          "offerDate": "2024-01-15T09:30:00Z",
          "acceptDate": "2024-01-15T09:30:00Z",
          "rejectDate": "2024-01-15T09:30:00Z",
          "employeeLevel": "string",
          "anonymousBonus": true,
          "averageIncome": 0,
          "averageBonus": 0,
          "totalWorkHours": 0,
          "averageExpenses": 0,
          "show_anonymous_bonus": true,
          "show_average_bonus": true,
          "show_average_expenses": true,
          "show_average_income": true,
          "show_billrate": true,
          "show_payperiod": true,
          "show_start_work_on": true,
          "isJobSearchActive": true,
          "linkedInUrl": "string",
          "facebookUrl": "string",
          "instagramUrl": "string",
          "twitterUrl": "string",
          "githubUrl": "string",
          "gitlabUrl": "string",
          "upworkUrl": "string",
          "stackoverflowUrl": "string",
          "isVerified": true,
          "isVetted": true,
          "totalJobs": 0,
          "jobSuccess": 0,
          "profile_link": "string",
          "isTrackingEnabled": true,
          "isOnline": true,
          "isAway": false,
          "isTrackingTime": true,
          "allowScreenshotCapture": true,
          "allowManualTime": true,
          "allowModifyTime": true,
          "allowDeleteTime": true,
          "allowAgentAppExit": true,
          "allowLogoutFromAgentApp": true,
          "trackKeyboardMouseActivity": true,
          "trackAllDisplays": true,
          "upworkId": "string",
          "linkedInId": "string",
          "userId": "string",
          "contactId": "string",
          "organizationPositionId": "string"
        },
        "installedAt": "string",
        "uninstalledAt": "string",
        "status": "INSTALLED",
        "isActivated": false,
        "activatedAt": "2024-01-15T09:30:00Z",
        "deactivatedAt": "2024-01-15T09:30:00Z"
      }
    ],
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "sources": [
      {
        "isActive": true,
        "isArchived": false,
        "archivedAt": "2018-11-21T06:20:32.232Z",
        "tenantId": "string",
        "organizationId": "string",
        "type": "CDN",
        "operatingSystem": "LINUX",
        "architecture": "X64",
        "url": "string",
        "integrity": "string",
        "crossOrigin": "string",
        "name": "string",
        "registry": "string",
        "private": false,
        "scope": "string",
        "filePath": "string",
        "fileName": "string",
        "fileSize": 0,
        "mimeType": "string",
        "fileKey": "string",
        "storageProvider": "LOCAL",
        "id": "123e4567-e89b-12d3-a456-426614174000"
      }
    ]
  },
  "subscriptionPlans": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "price": 0,
      "isPopular": true,
      "isRecommended": true,
      "trialDays": 0,
      "setupFee": 0,
      "discountPercentage": 0,
      "name": "string",
      "description": "string",
      "type": "free",
      "currency": "AFN",
      "billingPeriod": "daily",
      "features": [
        "string"
      ],
      "limitations": {},
      "isActive": true,
      "metadata": {},
      "sortOrder": 0
    }
  ]
}'''

response = requests.patch(
    'http://localhost:3000/api/plugins/550e8400-e29b-41d4-a716-446655440000',
    data=body.encode('utf-8'),
    headers={
        'Content-Type': 'application/json',
    },
)
print(response.text)
```
