Skip to main content

customer create

Create a new customer in your application and associate a customer to a channel. Customer information returned on success.

Usage

replicated customer create [Flags]
FlagTypeDescription
--namestringThe name of the customer (required)
--channelstringThe channel name to associate with the customer (case-sensitive, required)
--ensure-channelIf set, channel will be created if it does not exist.
--expires-indurationIf set, license will expire a specified number of units from the current time. For example, 2h or 1h60m or 120m are all the same duration.
-h, --helpHelp for the command
--appstringThe app slug or app id used in all calls (default uses $REPLICATED_APP env variable)
--tokenstringThe API token used to access your app in the Vendor API (default uses $REPLICATED_API_TOKEN env variable)

Examples

replicated customer create --channel Megacorp_Beta --name "Megacorp" --ensure-channel --expires-in "8760h"
ID NAME CHANNELS EXPIRES TYPE
2u4KGXSY65SAUW0ltG_pPhxBGPJ4XNSS Megacorp Megacorp_Beta 2021-01-20 00:17:38 +0000 UTC dev