Represents the changes requested for a subscribe token.

interface UpdateSubscribeToken {
    addTokenStreams?: SubscribeTokenStream[];
    isActive?: boolean;
    label?: string;
    refreshToken?: boolean;
    removeTokenStreams?: SubscribeTokenStream[];
    updateAllowedCountries?: string[];
    updateAllowedIpAddresses?: string[];
    updateAllowedOrigins?: string[];
    updateBindIpsOnUsage?: number;
    updateDeniedCountries?: string[];
    updateOriginCluster?: string;
}

Properties

addTokenStreams?: SubscribeTokenStream[]

List of stream names to add to the list.

isActive?: boolean

Enables or disable the publish token.

label?: string

Name for the token that is used to display in the dashboard.

refreshToken?: boolean

Refresh the publish token.

removeTokenStreams?: SubscribeTokenStream[]

List of stream names to remove from the list.

updateAllowedCountries?: string[]

Update the list of allowed countries.

updateAllowedIpAddresses?: string[]

Update the list of allows IP addresses.

updateAllowedOrigins?: string[]

Update the list of allowed origins.

updateBindIpsOnUsage?: number

Update the bind IPs on usage value.

updateDeniedCountries?: string[]

Update the list of denied countries.

updateOriginCluster?: string

Update the origin cluster.