added Rename Agent

A new endpoint called Rename agent has been added to the 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


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

curl --request PATCH \
     --url \
     --header 'Accept: application/json' \
     --header 'Content-Type: application/json' \
     --header 'X-ApiKeys: accessKey=<YOURKEY>;secretKey=<YOURKEY>' \
     --data '{"name":"MYAGENT"}'