Agent Plugins
Set a public HTTPS icon URL for an agent plugin or package.
Set a public HTTPS icon URL for an agent plugin or package. The request enforces Agent plugin roles, provider policy, and lifecycle state.
PATCH
/
api
/
v1
/
agent
/
plugins
/
{agentPluginId}
/
icon-url
Set a public HTTPS icon URL for an agent plugin or package.
curl --request PATCH \
--url https://api.revoengine.com/api/v1/agent/plugins/{agentPluginId}/icon-url \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "<string>",
"version": 1
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({url: '<string>', version: 1})
};
fetch('https://api.revoengine.com/api/v1/agent/plugins/{agentPluginId}/icon-url', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/agent/plugins/{agentPluginId}/icon-url"
payload = {
"url": "<string>",
"version": 1
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)Authorizations
Bearer JWT token or API Key (sk-*).
Path Parameters
Body
application/json
Response
200
⌘I
Set a public HTTPS icon URL for an agent plugin or package.
curl --request PATCH \
--url https://api.revoengine.com/api/v1/agent/plugins/{agentPluginId}/icon-url \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "<string>",
"version": 1
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({url: '<string>', version: 1})
};
fetch('https://api.revoengine.com/api/v1/agent/plugins/{agentPluginId}/icon-url', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/agent/plugins/{agentPluginId}/icon-url"
payload = {
"url": "<string>",
"version": 1
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)
