Create or update an agent.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects a multipart form containing an optional file.
agentstringRequired
agent_idstring or nullOptional
activateboolean or nullOptionalDefaults to true
revisionstringRequired
agent_imagefileOptional

Response

Successful Response
agentobject
revisionobject or null

Errors