interface NetworkTokenInfo {
    Network: string;
    created_at: Date;
    expire_time?: ExpireTimeOption;
    middleware?: string;
    name: string;
    permission: PermissionOption;
    serie_number?: string;
    type: "type" | "Network";
    updated_at: Date;
    verification_code?: string;
}

Hierarchy (view full)

Properties

Network: string
created_at: Date
expire_time?: ExpireTimeOption

The time for when the token should expire. It will be randomly generated if not included. Accepts “never” as value.

middleware?: string

[optional] Middleware or type of the device that will be added.

name: string

A name for the token.

permission: PermissionOption

Token permission should be 'write', 'read' or 'full'.

serie_number?: string

[optional] The serial number of the device.

type: "type" | "Network"
updated_at: Date
verification_code?: string

[optional] Verification code to validate middleware requests.