Skip to main content

Create multiple/single (non)binary variables for a tenant

Swagger UIyaml
post/platform-api/tenant/variables

This endpoint can be used in 2 ways: By passing a JSON Body (TenantRestVariable or an array of TenantRestVariable) or by passing a multipart/form-data Object. Nonexistent variables are created on the tenant and existing ones are overridden. Any number of variables can be passed into the request body array. NB: Swagger V2 specification doesn't support this use case that's why this endpoint might be buggy/incomplete if used with other tools.

Query parameters

tenantIdstring

Request body multipart/form-data

filefile
namestring
typestring

Request body application/json · TenantVariableCollectionResource

Create a tenant variable

TenantVariableCollectionResource

Responses

successful operation · TenantRestVariable[]

A list of TenantRestVariable:

tenantIdstring
protectedboolean

requiredGrey names have no description in the spec