Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Secret

get
Authorizations
Path parameters
secretIdstringRequired
Responses
200

Successful

application/json
secretIdstringRequired
namestringRequired
variablestringRequired
typestringRequired
optionalbooleanOptional
datastringRequired
get/secret/{secretId}
GET /v1/secret/{secretId} HTTP/1.1
Host: api.edgetag.io
Accept: */*
{
  "secretId": "text",
  "name": "text",
  "variable": "text",
  "type": "text",
  "optional": true,
  "data": "text"
}
put
Authorizations
Path parameters
secretIdstringRequired
Body
namestringRequired
variablestringRequired
typestringRequired
optionalbooleanOptional
datastringRequired
ivstringRequired
keystringRequired
saltstringOptional
scriptIdstringOptional
tagIdstringOptional
hostIdstringOptional
shouldDeploybooleanOptional
Responses
200

Successful

application/json
object · Model28Optional
put/secret/{secretId}
PUT /v1/secret/{secretId} HTTP/1.1
Host: api.edgetag.io
Content-Type: application/json
Accept: */*
Content-Length: 185

{
  "name": "text",
  "variable": "text",
  "type": "text",
  "optional": true,
  "data": "text",
  "iv": "text",
  "key": "text",
  "salt": "text",
  "scriptId": "text",
  "tagId": "text",
  "hostId": "text",
  "shouldDeploy": true
}
{}
delete
Authorizations
Path parameters
secretIdstringRequired
Responses
200

Successful

application/json
object · Model28Optional
delete/secret/{secretId}
DELETE /v1/secret/{secretId} HTTP/1.1
Host: api.edgetag.io
Accept: */*
{}
post
Authorizations
Body
namestringRequired
variablestringRequired
typestringRequired
optionalbooleanOptional
datastringRequired
ivstringRequired
keystringRequired
saltstringOptional
scriptIdstringOptional
tagIdstringOptional
hostIdstringOptional
shouldDeploybooleanOptional
Responses
200

Successful

application/json
secretIdstringRequired
post/secret
POST /v1/secret HTTP/1.1
Host: api.edgetag.io
Content-Type: application/json
Accept: */*
Content-Length: 185

{
  "name": "text",
  "variable": "text",
  "type": "text",
  "optional": true,
  "data": "text",
  "iv": "text",
  "key": "text",
  "salt": "text",
  "scriptId": "text",
  "tagId": "text",
  "hostId": "text",
  "shouldDeploy": true
}
{
  "secretId": "text"
}
patch
Authorizations
Path parameters
secretIdstringRequired
Body
namestringRequired
Responses
200

Successful

application/json
object · Model28Optional
patch/secret/{secretId}/name
PATCH /v1/secret/{secretId}/name HTTP/1.1
Host: api.edgetag.io
Content-Type: application/json
Accept: */*
Content-Length: 15

{
  "name": "text"
}
{}
Authorizations
Path parameters
tagIdstringRequired
Body
consentstring · enumOptionalPossible values:
Responses
200

Successful

application/json
object · Model28Optional
patch/tag/consent/{tagId}
PATCH /v1/tag/consent/{tagId} HTTP/1.1
Host: api.edgetag.io
Content-Type: application/json
Accept: */*
Content-Length: 22

{
  "consent": "DISABLED"
}
{}
patch
Authorizations
Path parameters
tagIdstringRequired
Body
Responses
200

Successful

application/json
object · Model28Optional
patch/tag/revenue/{tagId}
PATCH /v1/tag/revenue/{tagId} HTTP/1.1
Host: api.edgetag.io
Content-Type: application/json
Accept: */*
Content-Length: 39

{
  "revenue": {
    "min": "text",
    "max": "text"
  }
}
{}

Last updated

Was this helpful?