Skip to main content
Create or update an IP address.
External DocumentationTo learn more, visit the Device 42 documentation.

Basic Parameters

ParameterDescription
Device IDsA comma-separated list of device IDs to attach to the created/updated IP address.
DevicesA comma-separated list of device names to attach to the created/updated IP address.
IP AddressThe IP to create or update.

Note: If a matching IP address is found, it will update the first matched IP address unless you specify a VRF Group or VRF Group ID, then it matches or adds the IP to that VRF group).
LabelThe label to attach to the created/updated IP address. Use d42_null to clear up the content of the IP label.
LockedSelect yes to lock the IP-to-device mapping for the specified devices or device_ids. Select no to unlock it.

Note: If no devices are provided, no action is taken. For new IP-to-device mappings, this value defaults to no (unlocked).
MAC AddressThe MAC address to attach to the created/updated IP address to.
Remove Device IDsA comma-separated list of device IDs to remove from to the updated IP address.
Remove DevicesA comma-separated list of device names to remove from the updated IP address.
SubnetThe name of the subnet to attach the created/updated IP address to. Note: Must be unique.

Advanced Parameters

ParameterDescription
AvailableSelect whether to mark the IP address as available.
Clear AllSelect yes to mark the IP address as available. This action will clear all associated fields, including device, MAC address, notes, and label.
NotesAdditional notes to add to the created/updated IP address.
TagsA comma-separated list of tags to attach to the updated/created IP address.
TypeThe type to filter the results by.
VRF Group IDThe ID of the VRF group to associate the IP address with.
VRF Group NameThe name of the group to associate the IP address with.

Example Output

{
	"msg": [
		"ip added or updated'76'192.168.1.1",
		true,
		false
	],
	"code": 0
}

Workflow Library Example

Create or Update Ip Address with Device 42 and Send Results Via Email
Workflow LibraryPreview this Workflow on desktop
I