Variables
Create a new variable
Unique identifier for the variable
cfd531e0-82fc-11e9-bc42-526af7764f64Name of the variable
API_KEYValue of the variable
my-secret-keyType of the variable (e.g., string, number)
stringDate and time when the variable was created
2024-08-24T14:15:22ZDate and time when the variable was last updated
2024-08-24T14:15:22ZVariable created successfully
Invalid request body
Validation error
Internal server error
POST /variables HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 176
{
"id": "cfd531e0-82fc-11e9-bc42-526af7764f64",
"name": "API_KEY",
"value": "my-secret-key",
"type": "string",
"createdDate": "2024-08-24T14:15:22Z",
"updatedDate": "2024-08-24T14:15:22Z"
}{
"id": "cfd531e0-82fc-11e9-bc42-526af7764f64",
"name": "API_KEY",
"value": "my-secret-key",
"type": "string",
"createdDate": "2024-08-24T14:15:22Z",
"updatedDate": "2024-08-24T14:15:22Z"
}Retrieve a list of all variables
Successful operation
Internal server error
GET /variables HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"id": "cfd531e0-82fc-11e9-bc42-526af7764f64",
"name": "API_KEY",
"value": "my-secret-key",
"type": "string",
"createdDate": "2024-08-24T14:15:22Z",
"updatedDate": "2024-08-24T14:15:22Z"
}
]Update a specific variable by ID
Variable ID
Unique identifier for the variable
cfd531e0-82fc-11e9-bc42-526af7764f64Name of the variable
API_KEYValue of the variable
my-secret-keyType of the variable (e.g., string, number)
stringDate and time when the variable was created
2024-08-24T14:15:22ZDate and time when the variable was last updated
2024-08-24T14:15:22ZVariable updated successfully
Invalid ID or request body provided
Variable not found
Internal server error
PUT /variables/{id} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 176
{
"id": "cfd531e0-82fc-11e9-bc42-526af7764f64",
"name": "API_KEY",
"value": "my-secret-key",
"type": "string",
"createdDate": "2024-08-24T14:15:22Z",
"updatedDate": "2024-08-24T14:15:22Z"
}{
"id": "cfd531e0-82fc-11e9-bc42-526af7764f64",
"name": "API_KEY",
"value": "my-secret-key",
"type": "string",
"createdDate": "2024-08-24T14:15:22Z",
"updatedDate": "2024-08-24T14:15:22Z"
}Delete a specific variable by ID
Variable ID
Variable deleted successfully
No content
Invalid ID provided
Variable not found
Internal server error
DELETE /variables/{id} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated