Create a project variable
POST https://{{base_url}}/v1/projects/{{project_uid}}/variables
The Create a project variable request lets you create a project variable in a project.
To use the API Request, you need to authenticate yourself with an Organization UID and Authtoken. Read more about it in Authentication.
For more information, refer to the Create a project variable API Reference document
Request Body
{"key"=>"Key3", "type"=>"text", "value"=>"password@1234"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
authtoken | string | Enter your authtoken. Refer Authentication for more details. | |
organization_uid | string | Enter the Organization UID. | |
Content-Type | string | Enter "application/json" to pass a request body. |