Organization

Update an existing Organization

PUT
http://localhost:3000/api/organization/{id}

Body

application/json
bonusTypestringPROFIT_BASED_BONUSREVENUE_BASED_BONUS

The type of bonus, can be one of the defined BonusTypeEnum values.

Example
PROFIT_BASED_BONUS
bonusPercentagenumber

The percentage of profit-based bonus, must be between 0 and 100.

Example
75
defaultValueDateTypestringTODAYEND_OF_MONTHSTART_OF_MONTH

The default value date type, can be one of the values from DefaultValueDateTypeEnum.

Example
TODAY
regionCodestring

The code representing a specific region (e.g., country or geographical area).

startWeekOnstringMONDAYTUESDAYWEDNESDAYTHURSDAYFRIDAYSATURDAYSUNDAY

Specifies which day the week starts on. Must be one of the WeekDaysEnum values.

Example
MONDAY
inviteExpiryPeriodnumber

The default invite expiry period in days.

Example
7
allowEmployeeToSeeTrackedDataboolean

Allow employees to see their own tracked data (screenshots, activity, app/url history, time logs).

Example
true
namestringrequired
standardWorkHoursPerDaynumber[1, 24]

Standard work hours per day for the organization

imageIdstring
upworkOrganizationIdstring
upworkOrganizationNamestring
tagsArray<array>
currencystringAFNAFAALLALKDZDADPAOAAOKAONAORARAARSARMARPARLAMDAWGAUDATSAZNAZMBSDBHDBDTBBDBYNBYBBYRBEFBECBELBZDBMDBTNBOBBOLBOVBOPBAMBADBANBWPBRCBRZBREBRRBRNBRBBRLGBPBNDBGLBGNBGOBGMBUKBIFXPFKHRCADCVEKYDXAFCLECLPCLFCNXCNYCOPCOUKMFCDFCRCHRDHRKCUCCUPCYPCZKCSKDKKDJFDOPNLGXCDDDMECSECVEGPGQEERNEEKETBEURXEUFKPFJDFIMFRFXFOXFUGMDGEKGELDEMGHSGHCGIPGRDGTQGWPGNFGNSGYDHTGHNLHKDHUFISKISJINRIDRIRRIQDIEPILSILPILRITLJMDJPYJODKZTKESKWDKGSLAKLVLLVRLBPLSLLRDLYDLTLLTTLULLUCLUFMOPMKDMKNMGAMGFMWKMYRMVRMVPMLFMTLMTPMROMURMXVMXNMXPMDCMDLMCFMNTMADMAFMZEMZNMZMMMKNADNPRANGTWDNZDNIONICNGNKPWNOKOMRPKRPABPGKPYGPEIPENPESPHPPLNPLZPTEGWEQARXRERHDRONROLRUBRURRWFSVCWSTSARRSDCSDSCRSLLSGDSKKSITSBDSOSZARZALKRHKRWKROSSPSURESPESAESBLKRSHPSDDSDGSDPSRDSRGSZLSEKCHFSYPSTDTJRTJSTZSTHBTPETOPTTDTNDTRYTRLTMTTMMUSDUSNUSSUGXUGSUAHUAKAEDUYUUYPUYIUZSVUVVEFVEBVNDVNNCHECHWXOFYDDYERYUNYUDYUMYURZRNZRZZMWZMKZWDZWRZWLrequired
Example
USD
show_incomeboolean
show_profitsboolean
show_bonuses_paidboolean
show_total_hoursboolean
show_minimum_project_sizeboolean
show_projects_countboolean
show_clients_countboolean
show_clientsboolean
show_employees_countboolean
acknowledgeAgentExitLogoutRestrictionboolean

Parameters

idstringrequiredpath

The unique identifier (UUID) of the organization.

Response

The Organization has been successfully updated.

Response fields application/json
deletedAtstring<date-time>
Example
2018-11-21T06:20:32.232Z
createdAtstring<date-time>

The creation timestamp of the entity.

Example
2018-11-21T06:20:32.232Z
updatedAtstring<date-time>

The last update timestamp of the entity.

Example
2018-11-21T06:20:32.232Z
idstring
isActivebooleantrue
isArchivedbooleanfalse
archivedAtstring<date-time>
Example
2018-11-21T06:20:32.232Z
tenantIdstring
namestringrequired
currencystringAFNAFAALLALKDZDADPAOAAOKAONAORARAARSARMARPARLAMDAWGAUDATSAZNAZMBSDBHDBDTBBDBYNBYBBYRBEFBECBELBZDBMDBTNBOBBOLBOVBOPBAMBADBANBWPBRCBRZBREBRRBRNBRBBRLGBPBNDBGLBGNBGOBGMBUKBIFXPFKHRCADCVEKYDXAFCLECLPCLFCNXCNYCOPCOUKMFCDFCRCHRDHRKCUCCUPCYPCZKCSKDKKDJFDOPNLGXCDDDMECSECVEGPGQEERNEEKETBEURXEUFKPFJDFIMFRFXFOXFUGMDGEKGELDEMGHSGHCGIPGRDGTQGWPGNFGNSGYDHTGHNLHKDHUFISKISJINRIDRIRRIQDIEPILSILPILRITLJMDJPYJODKZTKESKWDKGSLAKLVLLVRLBPLSLLRDLYDLTLLTTLULLUCLUFMOPMKDMKNMGAMGFMWKMYRMVRMVPMLFMTLMTPMROMURMXVMXNMXPMDCMDLMCFMNTMADMAFMZEMZNMZMMMKNADNPRANGTWDNZDNIONICNGNKPWNOKOMRPKRPABPGKPYGPEIPENPESPHPPLNPLZPTEGWEQARXRERHDRONROLRUBRURRWFSVCWSTSARRSDCSDSCRSLLSGDSKKSITSBDSOSZARZALKRHKRWKROSSPSURESPESAESBLKRSHPSDDSDGSDPSRDSRGSZLSEKCHFSYPSTDTJRTJSTZSTHBTPETOPTTDTNDTRYTRLTMTTMMUSDUSNUSSUGXUGSUAHUAKAEDUYUUYPUYIUZSVUVVEFVEBVNDVNNCHECHWXOFYDDYERYUNYUDYUMYURZRNZRZZMWZMKZWDZWRZWLrequired

The currency used by the organization, must be one of the CurrenciesEnum values.

Example
USD
defaultValueDateTypestringTODAYEND_OF_MONTHSTART_OF_MONTH

The default value date type, can be one of the values from DefaultValueDateTypeEnum.

Example
TODAY
regionCodestring

The code representing a specific region (e.g., country or geographical area).

startWeekOnstringMONDAYTUESDAYWEDNESDAYTHURSDAYFRIDAYSATURDAYSUNDAY

Specifies which day the week starts on. Must be one of the WeekDaysEnum values.

Example
MONDAY
bonusTypestringPROFIT_BASED_BONUSREVENUE_BASED_BONUS

The type of bonus, can be one of the defined BonusTypeEnum values.

Example
PROFIT_BASED_BONUS
bonusPercentagenumber

The percentage of profit-based bonus, must be between 0 and 100.

Example
75
show_incomeboolean
show_profitsboolean
show_bonuses_paidboolean
show_total_hoursboolean
show_minimum_project_sizeboolean
show_projects_countboolean
show_clients_countboolean
show_clientsboolean
show_employees_countboolean
inviteExpiryPeriodnumber

The default invite expiry period in days.

Example
7
upworkOrganizationIdstring
upworkOrganizationNamestring
randomScreenshotboolean
trackOnSleepboolean
screenshotFrequencynumber
enforcedboolean
standardWorkHoursPerDaynumber[1, 24]

Standard work hours per day for the organization

allowAgentAppExitboolean

Allow employees to exit the Agent app. When disabled, the exit option will be blocked in the Agent app.

Example
true
allowLogoutFromAgentAppboolean

Allow employees to logout from the Agent app. When disabled, the logout option will be blocked in the Agent app.

Example
true
trackKeyboardMouseActivityboolean

Enable comprehensive keyboard and mouse activity tracking for detailed productivity insights.

Example
false
trackAllDisplaysboolean

Track all displays instead of just the primary display. Useful for multi-monitor setups.

Example
false
allowEmployeeToSeeTrackedDataboolean

Allow employees to see their own tracked data (screenshots, activity, app/url history, time logs).

Example
true
imageIdstring
400Bad Request

Invalid input, the response body may contain clues as to what went wrong.

401Unauthorized

Unauthorized

403Forbidden

Forbidden

404Not Found

No organization found with the provided ID.

Authorization

bearerhttp (bearer) in header

Enter JWT token

Copyright © 2023-Present Ever Co. LTD.Docs by Sourcey