1"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[4494],{59296:(e,t,o)=>{o.r(t),o.d(t,{default:()=>H});var n=o(96540),s=o(92303),i=o(34164),a=o(26058),c=o(17559),r=o(34291);const l={codeBlockContainer:"codeBlockContainer_APcc"};var d=o(74848);function p({as:e,...t}){const o=(0,a.A)(),n=(0,r.M$)(o);return(0,d.jsx)(e,{...t,style:n,className:(0,i.A)(t.className,l.codeBlockContainer,c.G.common.codeBlock)})}const u={codeBlock:"codeBlock_qGQc",codeBlockStandalone:"codeBlockStandalone_zC50",codeBlockLines:"codeBlockLines_p187",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_OFgW"};function m({children:e,className:t}){return(0,d.jsx)(p,{as:"pre",tabIndex:0,className:(0,i.A)(u.codeBlockStandalone,"thin-scrollbar",t),children:(0,d.jsx)("code",{className:u.codeBlockLines,children:e})})}var h=o(6342),b=o(96591);function f({children:e}){return e}var x=o(71765);function g({line:e,token:t,...o}){return(0,d.jsx)("span",{...o})}const j={codeLine:"codeLine_iPqp",codeLineNumber:"codeLineNumber_F4P7",codeLineContent:"codeLineContent_pOih"};function k({line:e,classNames:t,showLineNumbers:o,getLineProps:n,getTokenProps:s}){const a=function(e){const t=1===e.length&&"\n"===e[0].content?e[0]:void 0;return t?[{...t,content:""}]:e}(e),c=n({line:a,className:(0,i.A)(t,o&&j.codeLine)}),r=a.map((e,t)=>{const o=s({token:e});return(0,d.jsx)(g,{...o,line:a,token:e,children:o.children},t)});return(0,d.jsxs)("span",{...c,children:[o?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("span",{className:j.codeLineNumber}),(0,d.jsx)("span",{className:j.codeLineContent,children:r})]}):r,(0,d.jsx)("br",{})]})}const B=n.forwardRef((e,t)=>(0,d.jsx)("pre",{ref:t,tabIndex:0,...e,className:(0,i.A)(e.className,u.codeBlock,"thin-scrollbar")}));function N(e){const{metadata:t}=(0,r.Ph)();return(0,d.jsx)("code",{...e,className:(0,i.A)(e.className,u.codeBlockLines,void 0!==t.lineNumbersStart&&u.codeBlockLinesWithNumbering),style:{...e.style,counterReset:void 0===t.lineNumbersStart?void 0:"line-count "+(t.lineNumbersStart-1)}})}function y({className:e}){const{metadata:t,wordWrap:o}=(0,r.Ph)(),n=(0,a.A)(),{code:s,language:c,lineNumbersStart:l,lineClassNames:p}=t;return(0,d.jsx)(x.Highlight,{theme:n,code:s,language:c,children:({className:t,style:n,tokens:s,getLineProps:a,getTokenProps:c})=>(0,d.jsx)(B,{ref:o.codeBlockRef,className:(0,i.A)(e,t),style:n,children:(0,d.jsx)(N,{children:s.map((e,t)=>(0,d.jsx)(k,{line:e,getLineProps:a,getTokenProps:c,classNames:p[t],showLineNumbers:void 0!==l},t))})})})}var C=o(78478),L=o(86861),D=o(21312);function A({className:e,...t}){return(0,d.jsx)("button",{type:"button",...t,className:(0,i.A)("clean-btn",e)})}var S=o(81473),_=o(14115);const R={copyButtonCopied:"copyButtonCopied_KAEU",copyButtonIcons:"copyButtonIcons_CCmD",copyButtonIcon:"copyButtonIcon_cWY_",copyButtonSuccessIcon:"copyButtonSuccessIcon_YaqN"};var v=o(9597);function I(e){return e?(0,D.translate)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,D.translate)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"})}const P=()=>/^((?!chrome|android).)*safari/i.test(navigator.userAgent);function T({className:e}){const{copyCode:t,isCopied:o}=function(){const{metadata:{code:e}}=(0,r.Ph)(),[t,o]=(0,n.useState)(!1),s=(0,n.useRef)(void 0),i=(0,n.useCallback)(()=>{(0,L.default)(e),o(!0),s.current=window.setTimeout(()=>{o(!1)},1e3)},[e]);return(0,n.useEffect)(()=>()=>window.clearTimeout(s.current),[]),P()&&(0,v.Dk)(e),{copyCode:i,isCopied:t}}();return(0,d.jsx)(A,{"aria-label":I(o),title:(0,D.translate)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,i.A)(e,R.copyButton,o&&R.copyButtonCopied),onClick:t,children:(0,d.jsxs)("span",{className:R.copyButtonIcons,"aria-hidden":"true",children:[(0,d.jsx)(S.A,{className:R.copyButtonIcon}),(0,d.jsx)(_.A,{className:R.copyButtonSuccessIcon})]})})}var Q=o(5048);const w={wordWrapButtonIcon:"wordWrapButtonIcon_zAao",wordWrapButtonEnabled:"wordWrapButtonEnabled_RxZc"};function G({className:e}){const{wordWrap:t}=(0,r.Ph)();if(!(t.isEnabled||t.isCodeScrollable))return!1;const o=(0,D.translate)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,d.jsx)(A,{onClick:()=>
1t.toggle(),className:(0,i.A)(e,t.isEnabled&&w.wordWrapButtonEnabled),"aria-label":o,title:o,children:(0,d.jsx)(Q.A,{className:w.wordWrapButtonIcon,"aria-hidden":"true"})})}const E={buttonGroup:"buttonGroup_VWRw"};function W({className:e}){return(0,d.jsx)(C.default,{children:()=>(0,d.jsxs)("div",{className:(0,i.A)(e,E.buttonGroup),children:[(0,d.jsx)(G,{}),(0,d.jsx)(T,{})]})})}const J={codeBlockContent:"codeBlockContent_bxn0",codeBlockTitle:"codeBlockTitle_d3dP",codeBlock:"codeBlock_tXDp"};function q({className:e}){const{metadata:t}=(0,r.Ph)();return(0,d.jsxs)(p,{as:"div",className:(0,i.A)(e,t.className),children:[t.title&&(0,d.jsx)("div",{className:J.codeBlockTitle,children:(0,d.jsx)(f,{children:t.title})}),(0,d.jsxs)("div",{className:J.codeBlockContent,children:[(0,d.jsx)(y,{}),(0,d.jsx)(W,{})]})]})}function Z(e){const t=function(e){const{prism:t}=(0,h.p)();return(0,r.mU)({code:e.children,className:e.className,metastring:e.metastring,magicComments:t.magicComments,defaultLanguage:t.defaultLanguage,language:e.language,title:e.title,showLineNumbers:e.showLineNumbers})}(e),o=(0,b.f)();return(0,d.jsx)(r.l8,{metadata:t,wordWrap:o,children:(0,d.jsx)(q,{})})}function H({children:e,...t}){const o=(0,s.default)(),i=function(e){return n.Children.toArray(e).some(e=>(0,n.isValidElement)(e))?e:Array.isArray(e)?e.join(""):e}(e),a="string"==typeof i?Z:m;return(0,d.jsx)(a,{...t,children:i},String(o))}},59640:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>x,contentTitle:()=>f,default:()=>k,frontMatter:()=>b,metadata:()=>n,toc:()=>g});const n=JSON.parse('{"id":"api/delete-relationship","title":"Delete Relationship","description":"Delete a relationship by ID.","source":"@site/docs/api/delete-relationship.api.mdx","sourceDirName":"api","slug":"/api/delete-relationship","permalink":"/docs/api/delete-relationship","draft":false,"unlisted":false,"editUrl":null,"tags":[],"version":"current","frontMatter":{"id":"delete-relationship","title":"Delete Relationship","description":"Delete a relationship by ID.","sidebar_label":"Delete Relationship","hide_title":true,"hide_table_of_contents":true,"api":"eJyVVE1r4zAQ/StmTrvgJG3ak2+FBDbQZUPJ7iWEoljjWK0sqSO51Bj/90Wy09hx2tJcYkZvPt+bqYGjTUkYJ7SCBBYo0WHEIkLJvM3mwkT7KlotphCDNkjBvOKQAA/gxz4UYjCMWIEOyUKyrUGxAiGBPuhRcIhB+HyGuRxiIHwpBSGHxFGJMdg0x4JBUoOrjHe3joQ6QHxWruConMgEUqSz6KwQfGOFkejLgAM9Xs9vYBeDE076iA/9Blccmm/Ebna+ZGu0sj58DfOrW/83DDDIYMs0RWuzUsoqagfHpz7p7ZeuSrso06Xq8PP5GP+PScGDR7Qk0gQxpFo5VM5jmTFSpOF59mS9Q92bsCHPqhNtJxwdE9J/CYeFHQOkTgevTFV/ssD0kKomfrcI5fCABM2uiY82RsQqONFxr9sCfYuFPVyi/gj9jdayA8J7sI+hYRjRxr82p9x6/4SpG8huG/pqU3e4nlZO422n+3Ebi3Z8l5IdIb82m/UooP/F8DbJkNTE8ufJgXRpJheWx8IAV6DLNT8CW2EF7TtU1rsEap6xguSD8DG8MlmO03gCR379dCfHLq1fixbQLyWseAKzQfRZfXYQmnARMh3Y7Ca1ZiSZctHdejXa/Lv1KuI6LQtUrhV+pilyOUZHL4v0iuSv1iuSbb1uptfTqwmTJmfTa0+j0dYVLGxEN8LuAj4Mb8kgeX1arq8OZicCh29uZiQTQd8lhQVrB7MdsZuc38pdDLm2zmPres8s/iXZNN78UiJVkGx3ngsSbO/ntq2BC+u/OSQZkxY/qf/HQ7cDP6NPj+nFRo5LoKqeGCDuZHPeRlj/HBlH6onyLk3RuJ7/6FoNZLVY3i83S2ia/7oNU7I=","sidebar_class_name":"delete api-method","info_path":"docs/api/parlant-api","custom_edit_url":null},"sidebar":"tutorialSidebar","previous":{"title":"Delete Journey","permalink":"/docs/api/delete-journey"},"next":{"title":"Delete Service","permalink":"/docs/api/delete-service"}}');var s=o(74848),i=o(28453),a=o(57742),c=o.n(a),r=o(78178),l=o.n(r),d=o(19624),p=o.n(d),u=o(96226),m=o.n(u),h=(o(77675),o(19365),o(51107));const b={id:"delete-relationship",title:"Delete Relationship",description:"Delete a relationship by ID.",sidebar_label:"Delete Relationship",hide_title:!0,hide_table_of_contents:!0,api:"eJyVVE1r4zAQ/StmTrvgJG3ak2+FBDbQZUPJ7iWEoljjWK0sqSO51Bj/90Wy09hx2tJcYkZvPt+bqYGjTUkYJ7SCBBYo0WHEIkLJvM3mwkT7KlotphCDNkjBvOKQAA/gxz4UYjCMWIEOyUKyrUGxAiGBPuhRcIhB+HyGuRxiIHwpBSGHxFGJMdg0x4JBUoOrjHe3joQ6QHxWruConMgEUqSz6KwQfGOFkejLgAM9Xs9vYBeDE076iA/9Blccmm/Ebna+ZGu0sj58DfOrW/83DDDIYMs0RWuzUsoqagfHpz7p7ZeuSrso06Xq8PP5GP+PScGDR7Qk0gQxpFo5VM5jmTFSpOF59mS9Q92bsCHPqhNtJxwdE9J/CYeFHQOkTgevTFV/ssD0kKomfrcI5fCABM2uiY82RsQqONFxr9sCfYuFPVyi/gj9jdayA8J7sI+hYRjRxr82p9x6/4SpG8huG/pqU3e4nlZO422n+3Ebi3Z8l5IdIb82m/UooP/F8DbJkNTE8ufJgXRpJheWx8IAV6DLNT8CW2EF7TtU1rsEap6xguSD8DG8MlmO03gCR379dCfHLq1fixbQLyWseAKzQfRZfXYQmnARMh3Y7Ca1ZiSZctHdejXa/Lv1KuI6LQtUrhV+pilyOUZHL4v0iuSv1iuSbb1uptfTqwmTJmfTa0+j0dYVLGxEN8LuAj4Mb8kgeX1arq8OZicCh29uZiQTQd8lhQVrB7MdsZuc38pdDLm2zmPres8s/iXZNN78UiJVkGx3ngsSbO/ntq2BC+u/OSQZkxY/qf/HQ7cDP6NPj+nFRo5LoKqeGCDuZHPeRlj/HBlH6onyLk3RuJ7/6FoNZLVY3i83S2ia/7oNU7I=",sidebar_class_name:"delete api-method",info_path:"docs/api/parlant-api",custom_edit_url:null},f=void 0,x={},g=[];function j(e){const t={p:"p",...(0,i.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(h.default,{as:"h1",className:"openapi__heading",children:"Delete Relationship"}),"\n",(0,s.jsx)(c(),{method:"delete",path:"/relationships/{relationship_id}",context:"endpoint"}),"\n",(0,s.jsx)(t.p,{children:"Delete a relationship by ID."}),"\n",(0,s.jsx)(h.default,{id:"request",as:"h2",className:"openapi-tabs__heading",children:"Request"}),"\n",(0,s.jsx)(l(),{parameters:[{name:"relationship_id",in:"path",required:!0,schema:{type:"string",description:"identifier of relationship",examples:["gr_123"],title:"Relationship Id"},description:"identifier of relationship"}]}),"\n",(0,s.jsx)(p(),{title:"Body",body:void 0}),"\n",(0,s.jsx)(m(),{id:void 0,label:void 0,responses:{204:{description:"Relationship successfully deleted."},404:{description:"Relationship not found."},422:{description:"Validation Error",content:{"application/json":{schema:{properties:{detail:{items:{properties:{loc:{items:{anyOf:[{type:"string"},{type:"integer"}]},type:"array",title:"Location"},msg:{type:"string",title:"Message"}
1,type:{type:"string",title:"Error Type"}},type:"object",required:["loc","msg","type"],title:"ValidationError"},type:"array",title:"Detail"}},type:"object",title:"HTTPValidationError"}}}}}})]})}function k(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(j,{...e})}):j(e)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.