TargetAssignments

post/api/v1/target-assignments/{deploymentId}/change-request/{changeRequestId}

Request

  • Base URL: https://api.immy.bot (the document declares no server; this is the origin it was published from)
  • URL: https://api.immy.bot/api/v1/target-assignments/{deploymentId}/change-request/{changeRequestId}
  • Auth: none declared

Path parameters

deploymentIdinteger required
changeRequestIdinteger required

Request body

maintenanceIdentifierstring nullable required
maintenanceType'GlobalSoftware' | 'LocalSoftware' | 'WindowsUpdate' | 'ChocolateySoftware' | 'NiniteSoftware' | 'LocalMaintenanceTask' | 'GlobalMaintenanceTask' | 'AgentUpdate'

The string or integer value may be used. GlobalSoftware = 0, LocalSoftware = 1, WindowsUpdate = 2, ChocolateySoftware = 3, NiniteSoftware = 4, LocalMaintenanceTask = 5, GlobalMaintenanceTask = 6, AgentUpdate = 7

targetType'All' | 'Computer' | 'Metascript' | 'Person' | 'AzureGroup' | 'TenantMetascript' | 'AllForTenant' | 'ProviderDeviceGroup' | 'ProviderClientGroup' | 'TenantFilterScript' | 'FilterScript' | 'AllTenants' | 'SpecificTenant' | 'Tag' | 'TenantTag' | 'CloudTag' | 'CloudProviderClientGroup'

The string or integer value may be used. All = 1, Computer = 2, Metascript = 5, Person = 7, AzureGroup = 8, TenantMetascript = 20, AllForTenant = 21, ProviderDeviceGroup = 22, ProviderClientGroup = 23, TenantFilterScript = 24, FilterScript = 25, AllTenants = 28, SpecificTenant = 29, Tag = 30, TenantTag = 31, CloudTag = 40, CloudProviderClientGroup = 42

targetstring nullable
targetCategory'Computer' | 'Tenant' | 'Person'

The string or integer value may be used. Computer = 0, Tenant = 1, Person = 2

tenantIdinteger nullable
propagateToChildTenantsboolean
allowAccessToParentTenantboolean
providerLinkIdinteger nullable
licenseIdinteger nullable
desiredSoftwareState'NewerOrEqualVersion' | 'NotPresent' | 'AnyVersion' | 'ThisVersion' | 'OlderOrEqualVersion' | 'LatestVersion' | 'NoAction' | 'UpdateIfFound'

The string or integer value may be used. NewerOrEqualVersion = 0, NotPresent = 1, AnyVersion = 2, ThisVersion = 3, OlderOrEqualVersion = 4, LatestVersion = 5, NoAction = 6, UpdateIfFound = 7

maintenanceTaskMode'Enforce' | 'Audit' | 'Monitor' | 'NoAction'

The string or integer value may be used. Enforce = 0, Audit = 1, Monitor = 2, NoAction = 3

taskParameterValuesobject nullable
targetGroupFilter'All' | 'Servers' | 'Workstations' | 'PortableDevices' | 'WorkstationsAndPortableDevices' | 'DomainControllers' | 'PrimaryDomainControllers'

The string or integer value may be used. All = 0, Servers = 1, Workstations = 2, PortableDevices = 3, WorkstationsAndPortableDevices = 4, DomainControllers = 5, PrimaryDomainControllers = 6

providerDeviceGroupTypestring uuid nullable
providerClientGroupTypestring uuid nullable
softwareProviderType'Ninite' | 'Chocolatey' | 'Inherent'

The string or integer value may be used. Ninite = 1, Chocolatey = 2, Inherent = 3

excludedboolean
targetEnforcement'Required' | 'Optional' | 'Adhoc' | 'Onboarding'

The string or integer value may be used. Required = 1, Optional = 2, Adhoc = 3, Onboarding = 4

onboardingOnlyboolean
providerLinkIdForMaintenanceIteminteger nullable
idinteger

Response

OK

idinteger
objectType'TargetAssignment' | 'Script'

The string or integer value may be used. TargetAssignment = 1, Script = 2

targetAssignmentIdinteger nullable
scriptIdinteger nullable
newValuesJsonunknown
state'WaitingForApproval' | 'Denied' | 'ApprovedAndApplied' | 'NeedsAttention'

The string or integer value may be used. WaitingForApproval = 1, Denied = 2, ApprovedAndApplied = 3, NeedsAttention = 4

acknowledgedByUserIdinteger nullable
acknowledgedByUserNamestring nullable
createdDateUtcstring date-time
createdByUserNamestring nullable
createdByUserIdinteger nullable
updatedDateUtcstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.