UUID Component
Generate UUIDs and GUIDs
Component key: uuid
Description
Generate randomized UUIDs. This is useful for when you need to generate a unique identifier.
This component uses the uuid library and generates version 4 UUIDs.
Actions
Generate UUID
Generate a version 4 UUID / GUID | key: generateUUID
Input | Default | Notes |
---|---|---|
Lower / Upper Case UUID string / Required casing | lower | |
Remove dashes? boolean / Required removeDashes | false |
Example Payload for Generate UUID
Example Payload for Generate UUID
{
"data": "abcd1234-abcd-1234-abcd-abcd1234abcd"
}
Nil/Empty UUID
Return the nil / empty UUID (00000000-0000-0000-0000-000000000000) | key: emptyUUID
Example Payload for Nil/Empty UUID
Example Payload for Nil/Empty UUID
{
"data": "00000000-0000-0000-0000-000000000000"
}