Saltar al contenido principal
Version: 2.00

Variables

Variables

Crea una nueva variable

post /variables

Crea una nueva variable

Authorizations
Body
    POST /variables HTTP/1.1
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"
}

Obtiene todas las variables

get /variables

Recupera una lista de todas las variables

Authorizations
    GET /variables HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

Update a variable by ID

put /variables/{id}

Update a specific variable by ID

Authorizations
Path parameters
Body
    PUT /variables/{id} HTTP/1.1
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"
}

Elimina una variable por ID

delete /variables/{id}

Elimina una variable específica por su ID

Authorizations
Path parameters
    DELETE /variables/{id} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*