Add a new Agent
The resourceSlug is a url parameter of the teamId associated with the user
the agentId of the agent that will be edited
JSON body containing the edited agent, all edited fields contain their new value and any unedited fields must still be included but with their original value.
An agent object used for tasks or apps
Successful operation, redirect to '/{resourceSlug}/agents'.
Server response after successsfully adding a new object