Update Procedure Visibility
Update or clear the visibility of a procedure draft. This is the condition that controls if a procedure is visible to the agent in its procedure menu.
Path parameters
agent_id
Agent ID to get the procedure draft from
branch_id
Branch ID to get the procedure draft from
procedure_id
The procedure ID
Headers
xi-api-key
Request
This endpoint expects an object.
visibility
The condition that controls if the procedure is visible to the agent in its procedure menu. Null clears it, so the procedure is always visible.
Response
Successful Response
procedure_id
Procedure ID
name
Procedure name
content
Procedure content
type
Procedure type
Allowed values:
trigger
When the agent should use this procedure. Empty string means this is a sub-procedure that should only start when another procedure references it.
folder_parent_id
Procedure ID of the folder this procedure is placed in. None means root.
visibility
The condition that controls if the procedure is visible to the agent in its procedure menu. None means always visible.
Errors
422
Procedures Update Visibility Request Unprocessable Entity Error