Archives or unarchives an agent.
Changed onArchives or unarchives the specified custom agent and returns its updated configuration. Set IsArchived to true to archive the agent, or false to unarchive it. <Check title="Required Permissions" icon="key">The user must have manage access to the agent.</Check>
Request
- Base URLhttps://api.awork.com/api/v1
- URLhttps://api.awork.com/api/v1/agents/{agentId}/setarchived
- AuthHTTP bearer
Path parameters
The agent id.
Request body
Response
OK
Changes
- info
added the optional property
to the response with the status
- info
- breaking
the request property
became required - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status
- breaking