To register a new version of an agent, you need to use PUT instead of POST, and add agentID and the version number you want to publish to the path.

PUT https://api.aimsinnovation.com/api/agents/{id}/{version}