Secret
get
Authorizations
Path parameters
secretIdstringRequired
Responses
200
Successful
application/json
secretIdstringRequired
namestringRequired
variablestringRequired
typestringRequired
optionalbooleanOptional
datastringRequired
409
Secret does not exist
application/json
500
Internal Server Error
application/json
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
409
Secret does not exist
application/json
500
Internal Server Error
application/json
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
406
Secret does not exist
application/json
500
Internal Server Error
application/json
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
500
Internal Server Error
application/json
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
409
Secret does not exist
application/json
500
Internal Server Error
application/json
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"
}{}patch
Authorizations
Path parameters
tagIdstringRequired
Body
consentstring · enumOptionalPossible values:
Responses
200
Successful
application/json
object · Model28Optional
409
Tag does not exist
application/json
500
Internal Server Error
application/json
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
409
Tag does not exist
application/json
500
Internal Server Error
application/json
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?

