Interface UriLinkCreatePayload

Payload for creating a URI link.

interface UriLinkCreatePayload {
    action: UriLinkAction;
    expiresAt?: string;
    expiresDays?: number;
    expiresMinutes?: number;
    maxUses?: number;
    name?: string;
    target?: UriLinkTarget;
}

Properties

Action the link performs when resolved.

expiresAt?: string

ISO expiry timestamp. Mutually exclusive with expiresMinutes/expiresDays.

expiresDays?: number

Days until expiry.

expiresMinutes?: number

Minutes until expiry.

maxUses?: number

Maximum number of times the link can be used. 0 = unlimited.

name?: string

Human-readable name for the link.

target?: UriLinkTarget

Target config (netId, netUid, orgLinkId depending on action).