Creates or updates a secure authentication profile for an agent. This endpoint can either create a new profile (returning a new auth token) or update an existing one (using the provided auth token). Authentication profiles are uniquely identified by agent_id + name.
auth_token
is provided:
name
parameter is required to identify your new profilename
already exists for the given agent_id
, the existing profile will be replaced with a new one and a new auth token will be generatedauth_token
is provided:
agent_id
and name
auth_token
parameter insteadshould_save_session
parameter controls whether the agent should maintain session state between runstrue
, any session data from the agent will be preserved for future runsfalse
or not provided, session data is not preserved between runsAuthentication profile created or updated successfully
The response is of type object
.