added

Tenable.io: Rename Agent

A new endpoint called Rename agent has been added to the Tenable.io API to allow users to rename agents. The endpoint accepts a string body parameter called name to rename the agent.

New EndpointNameDescription
PATCH /scanners/null/agents/{agent_id}Rename agentRenames an agent

Example

For example, to rename an agent with id 4248431 to MYAGENT, you could use the following cURL request:

curl --request PATCH \
     --url https://cloud.tenable.com/scanners/null/agents/4248431 \
     --header 'Accept: application/json' \
     --header 'Content-Type: application/json' \
     --header 'X-ApiKeys: accessKey=<YOURKEY>;secretKey=<YOURKEY>' \
     --data '{"name":"MYAGENT"}'