Description
Creates a variable that lives only on this project. Use variableType = Text for plain text, Sensitive for secrets.
Parameters
| Name | In | Type | Required | Description |
projectId |
body |
string |
yes |
ID of the project. |
name |
body |
string |
yes |
Variable name. |
description |
body |
string |
no |
Optional description. |
variableType |
body |
string |
no |
Text (default), Sensitive, or Certificate. Imported is not allowed here. |
Errors
| Status | Meaning |
400 |
Invalid projectId, invalid variableType, or validation failure. |
401 |
Missing or invalid Basic auth credentials, or the service account lacks the required role. |