Add variables

Add variables to an existing state

POST
/states/{stateId}/variables
AuthorizationBearer <token>

Bearer token authentication. Use your API key as the bearer token.

In: header

Path Parameters

stateIdstring

State ID

Variables to add

Response Body

curl -X POST "https://eu1.api.bivariant.com/v1/states/string/variables" \  -H "Content-Type: application/json" \  -d '[    {      "groupIds": [        "string"      ],      "name": "string",      "schema": null,      "scopeId": "string",      "tags": [        "string"      ]    }  ]'
{
  "id": "string"
}
{
  "code": "string",
  "message": "string"
}
{
  "code": "string",
  "message": "string"
}
{
  "code": "string",
  "message": "string"
}
{
  "code": "string",
  "message": "string"
}