Learn how to create, update, fetch, & list tenants using Java SDK.
tenant_id="default"
(representing your organization) is created your workspace. Read more about tenants here.
Field | Description | |
---|---|---|
tenant_id (mandatory) | max 64 characters and should contains alphanumeric characters(a-z, 0-9), hyphen (-) and underscode(_). tenant_id is case-insensitive. Suprsend will first converts tenant_id to lowercase before storing it or doing any sort of comparison on it. | |
tenant_name (mandatory) | name of the tenant. | |
colors (primary, secondary, tertiary) | colors settings are mainly used while designing templates. If you don’t provide any of the colors for the brand, SuprSend will assume you want to use the default values, so color settings will automatically be set to the color settings of default brand. | |
social_links | URLs of social media accounts of the tenant. While updating a social link, if you pass its value as null, then SuprSend will ignore it. If you really want to remove the value you must the value= " " (instead of null). e.g. If you want to remove social_link url for facebook , you must pass facebook= " " . Consider this code block for the same:{ "social_links": {"facebook": " " } } | |
properties | Custom properties associated with the tenant. Update operation is upsert (new properties are added to existing one’s and if key is already present, value is overridden). |
{{$tenant.prop}}
(handlebars) or data["tenant"].prop
in JSONNET format.
limit=20
. The maximum value for limit
is 1000
.