v4

OpenAPI 3.1.02026-07-313621,3961.8 MB
Agents Platform

Delete Procedure Draft

Delete user's draft for a procedure, resetting to the committed version

delete/v1/convai/agents/{agent_id}/branches/{branch_id}/procedures/{procedure_id}/draft

Path parameters

agent_idstring required

Agent ID to get the procedure draft from

Example:agent_3701k3ttaq12ewp8b7qv5rfyszkz

Agent ID to get the procedure draft from

branch_idstring required

Branch ID to get the procedure draft from

Example:agtbranch_0901k4aafjxxfxt93gd841r7tv5t

Branch ID to get the procedure draft from

procedure_idstring required

The procedure ID

Example:agtprc_6qbpwdq8n01bxhk44bgjy6f10ck3

The procedure ID

Headers

xi-api-keystring nullable

Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Response

Successful Response

{"stackTrail":"paths:/v1/convai/agents/{agent_id}/branches/{branch_id}/procedures/{procedure_id}/draft:delete:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}