# Update plugin version

`PUT /api/plugins/{pluginId}/versions/{versionId}`

Updates an existing plugin version record based on the provided ID and metadata.

Authentication: no security requirement declared for this operation.

Parameters:

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

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

Request body: multipart/form-data (required)

Updated plugin version data transfer object

Type: object

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

- `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

- `number` (optional)
  Type: string
  
  Version following SemVer (MAJOR.MINOR.PATCH[-prerelease][+build])

- `changelog` (optional)
  Type: string
  
  Change Log of the plugin version

- `checksum` (optional)
  Type: string
  
  Verification hash of the plugin version

- `signature` (optional)
  Type: string
  
  Digital signature for authenticity verification

- `releaseDate` (optional)
  Type: string
  
  Date when the release was recorded

- `installations` (optional)
  Type: array
  
  Related installations to plugin version
  
  Items:
    Reference: [PluginInstallation_1](https://sourcey-gauzy.pages.dev/api-reference/models/plugininstallation-1/index.md); Type: object

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

- `sources` (optional)
  Type: array
  
  Updated source details for the plugin version
  
  Items:
    Reference: [UpdatePluginSourceDTO](https://sourcey-gauzy.pages.dev/api-reference/models/updatepluginsourcedto/index.md); Type: object

Responses:

- 200: Plugin version updated successfully.

Content type: application/json

Type: object

Schema: [PluginVersion_1](https://sourcey-gauzy.pages.dev/api-reference/models/pluginversion-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
  
  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

- `number` (required)
  Type: string
  
  Version following SemVer (MAJOR.MINOR.PATCH[-prerelease][+build])

- `changelog` (required)
  Type: string
  
  Change Log of the plugin version

- `checksum` (required)
  Type: string
  
  Verification hash of the plugin version

- `signature` (required)
  Type: string
  
  Digital signature for authenticity verification

- `releaseDate` (optional)
  Type: string
  
  Date when the release was recorded

- `downloadCount` (required)
  Type: number
  
  Download count

- `plugin` (required)
  Type: unknown
  
  Plugin associated with the version
  
  allOf:
    Reference: [Plugin_1](https://sourcey-gauzy.pages.dev/api-reference/models/plugin-1/index.md); Type: object

- `sources` (optional)
  Type: array
  
  Sources of the plugin version
  
  Items:
    Reference: [PluginSource_1](https://sourcey-gauzy.pages.dev/api-reference/models/pluginsource-1/index.md); Type: object

- `installations` (optional)
  Type: array
  
  Related installations to plugin version
  
  Items:
    Reference: [PluginInstallation_1](https://sourcey-gauzy.pages.dev/api-reference/models/plugininstallation-1/index.md); Type: object

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

- 401: Unauthorized access.

- 404: Plugin version record not found.

## Examples

### cURL

```bash
curl -X PUT 'http://localhost:3000/api/plugins/string/versions/550e8400-e29b-41d4-a716-446655440000' \
  --form-string 'isActive=true' \
  --form-string 'isArchived=false' \
  --form-string 'archivedAt=2018-11-21T06:20:32.232Z' \
  --form-string 'tenantId=string' \
  --form-string 'organizationId=string' \
  --form-string 'number=string' \
  --form-string 'changelog=string' \
  --form-string 'checksum=string' \
  --form-string 'signature=string' \
  --form-string 'releaseDate=string' \
  --form-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"}' \
  --form-string 'id=123e4567-e89b-12d3-a456-426614174000' \
  --form-string '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"}'
```

### JavaScript

```javascript
const form = new FormData();
form.append('isActive', 'true');
form.append('isArchived', 'false');
form.append('archivedAt', '2018-11-21T06:20:32.232Z');
form.append('tenantId', 'string');
form.append('organizationId', 'string');
form.append('number', 'string');
form.append('changelog', 'string');
form.append('checksum', 'string');
form.append('signature', 'string');
form.append('releaseDate', 'string');
form.append('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"}');
form.append('id', '123e4567-e89b-12d3-a456-426614174000');
form.append('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"}');
const response = await fetch('http://localhost:3000/api/plugins/string/versions/550e8400-e29b-41d4-a716-446655440000', {
  method: 'PUT',
  headers: {},
  body: form,
});
console.log(await response.text());
```

### Python

```python
import requests
from contextlib import ExitStack

with ExitStack() as stack:
    files = [
        ('isActive', (None, 'true')),
        ('isArchived', (None, 'false')),
        ('archivedAt', (None, '2018-11-21T06:20:32.232Z')),
        ('tenantId', (None, 'string')),
        ('organizationId', (None, 'string')),
        ('number', (None, 'string')),
        ('changelog', (None, 'string')),
        ('checksum', (None, 'string')),
        ('signature', (None, 'string')),
        ('releaseDate', (None, 'string')),
        ('installations', (None, '{"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', (None, '123e4567-e89b-12d3-a456-426614174000')),
        ('sources', (None, '{"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"}')),
    ]
    response = requests.request('PUT', 'http://localhost:3000/api/plugins/string/versions/550e8400-e29b-41d4-a716-446655440000', headers={}, files=files)
    print(response.text)
```
