1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[7453],{346(e,n,t){t.r(n),t.d(n,{assets:()=>h,contentTitle:()=>d,default:()=>v,frontMatter:()=>c,metadata:()=>r,toc:()=>b});const r=JSON.parse('{"id":"guides/webhooks/delete","title":"Eliminar evento subscrito","description":"","source":"@site/docs/guides/webhooks/delete.mdx","sourceDirName":"guides/webhooks","slug":"/guides/webhooks/delete","permalink":"/docs/guides/webhooks/delete","draft":false,"unlisted":false,"tags":[],"version":"current","sidebarPosition":6,"frontMatter":{"sidebar_position":6,"title":"Eliminar evento subscrito","description":"","hide_table_of_contents":true},"sidebar":"guides","previous":{"title":"Atualizar evento subscrito","permalink":"/docs/guides/webhooks/update"},"next":{"title":"Autentica\xe7\xe3o das notifica\xe7\xf5es","permalink":"/docs/guides/webhooks/request-auth"}}');var a=t(4848),o=t(8453),i=t(1312),u=t(4660),s=t(4865),l=t(9365);const c={sidebar_position:6,title:"Eliminar evento subscrito",description:"",hide_table_of_contents:!0},d="Eliminar evento subscrito",h={},b=[];function f(e){const n={code:"code",h1:"h1",header:"header",pre:"pre",...(0,o.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.header,{children:(0,a.jsx)(n.h1,{id:"eliminar-evento-subscrito",children:(0,a.jsx)(i.A,{id:"webhooks.delete.title",children:"Eliminar evento subscrito"})})}),"\n",(0,a.jsx)("p",{children:(0,a.jsx)(i.A,{id:"webhooks.delete.intro",children:"Para cancelar a subscri\xe7\xe3o de um evento, utilize o seu identificador (id). Ap\xf3s a elimina\xe7\xe3o, o webhook deixar\xe1 de receber notifica\xe7\xf5es para a a\xe7\xe3o configurada."})}),"\n",(0,a.jsx)("button",{className:"btn-api btn-api--float-right",onClick:()=>(0,u.A)({idMenuOption:"webhooks",idOption:"webhooks/delete/webhooks/{id}"}),children:(0,a.jsxs)("span",{children:[(0,a.jsx)(i.A,{id:"webhooks.delete.consultApi",children:"Consultar API"})," \xa0\xa0\xa0",">"]})}),"\n",(0,a.jsxs)(s.A,{children:[(0,a.jsx)(l.A,{value:"pedido",label:(0,a.jsx)(i.A,{id:"webhooks.delete.tabs.request",children:"Pedido"}),children:(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{children:"DELETE /webhooks/{id}\n"})})}),(0,a.jsx)(l.A,{value:"resposta",label:(0,a.jsx)(i.A,{id:"webhooks.delete.tabs.response",children:"Resposta"}),children:(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-json",children:'{\n "date": "2024-01-15T12:00:00+00:00",\n "success": true\n}\n'})})})]})]})}function v(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(f,{...e})}):f(e)}},9365(e,n,t){t.d(n,{A:()=>s});t(6540);var r=t(4164),a=t(7751);const o="tabItem_Ymn6";var i=t(4848);function u(e){var n=e.children,t=e.className,a=e.hidden;return(0,i.jsx)("div",{role:"tabpanel",className:(0,r.A)(o,t),hidden:a,children:n})}function s(e){var n=e.children,t=e.className,r=e.value,o=(0,a.uc)(),s=o.selectedValue,l=o.lazy,c=r===s;return!c&&l?null:(0,i.jsx)(u,{className:t,hidden:!c,children:n})}},4865(e,n,t){t.d(n,{A:()=>f});t(6540);var r=t(4164),a=t(7559),o=t(7751),i=t(3104),u=t(2303);const s="tabList__CuJ",l="tabItem_LNqP";var c=t(4848);function d(e){var n=e.className,t=(0,o.uc)(),a=t.selectedValue,u=t.selectValue,s=t.tabValues,d=t.block,h=[],b=(0,i.a_)().blockElementScrollPositionUntilNextRender,f=function(e){var n=e.currentTarget,t=h.indexOf(n),r=s[t].value;r!==a&&(b(n),u(r))},v=function(e){var n,t=null;switch(e.key){case"Enter":f(e);break;case"ArrowRight":var r,a=h.indexOf(e.currentTarget)+1;t=null!=(r=h[a])?r:h[0];break;case"ArrowLeft":var o,i=h.indexOf(e.currentTarget)-1;t=null!=(o=h[i])?o:h[h.length-1]}null==(n=t)||n.focus()};return(0,c.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,r.A)("tabs",{"tabs--block":d},n),children:s.map(function(e){var n=e.value,t=e.label,o=e.attributes;return(0,c.jsx)("li",Object.assign({role:"tab",tabIndex:a===n?0:-1,"aria-selected":a===n,ref:function(e){h.push(e)},onKeyDown:v,onClick:f},o,{className:(0,r.A)("tabs__item",l,null==o?void 0:o.className,{"tabs__item--active":a===n}),children:null!=t?t:n}),n)})})}function h(e){var n=e.children;return(0,c.jsx)("div",{className:"margin-top--md",children:n})}function b(e){var n=e.className,t=e.children;return(0,c.jsxs)("div",{className:(0,r.A)(a.G.tabs.container,"tabs-container",s),children:[(0,c.jsx)(d,{className:n}),(0,c.jsx)(h,{children:t})]})}function f(e){var n=(0,u.A)(),t=(0,o.OC)(e);return(0,c.jsx)(o.O_,{value:t,children:(0,c.jsx)(b,{className:e.className,children:(0,o.vT)(e.children)})},String(n))}}
1,7751(e,n,t){t.d(n,{OC:()=>f,O_:()=>m,uc:()=>p,vT:()=>c});var r=t(6540),a=t(6347),o=t(205),i=t(7485),u=t(679),s=t(1682),l=t(4848);function c(e){return r.Children.toArray(e).filter(function(e){return"\n"!==e})}function d(e){var n=e.values,t=e.children;return(0,r.useMemo)(function(){var e=null!=n?n:function(e){return r.Children.toArray(e).flatMap(function(e){if(!e)return[];if((0,r.isValidElement)(e)&&(n=e.props)&&"object"==typeof n&&"value"in n)return[e];var n,t="string"==typeof e.type?e.type:e.type.name;throw new Error("Docusaurus error: Bad <Tabs> child <"+t+'>: all children of the <Tabs> component should be <TabItem>, and every <TabItem> should have a unique "value" prop.\nIf you do not want to pass on a "value" prop to the direct children of <Tabs>, you can also pass an explicit <Tabs values={...}> prop.')}).map(function(e){var n=e.props;return{value:n.value,label:n.label,attributes:n.attributes,default:n.default}})}(t);return function(e){var n=(0,s.XI)(e,function(e,n){return e.value===n.value});if(n.length>0)throw new Error('Docusaurus error: Duplicate values "'+n.map(function(e){return"'"+e.value+"'"}).join(", ")+'" found in <Tabs>. Every value needs to be unique.')}(e),e},[n,t])}function h(e){var n=e.value;return e.tabValues.some(function(e){return e.value===n})}function b(e){var n=e.queryString,t=void 0!==n&&n,o=e.groupId,u=(0,a.W6)(),s=function(e){var n=e.queryString,t=void 0!==n&&n,r=e.groupId;if("string"==typeof t)return t;if(!1===t)return null;if(!0===t&&!r)throw new Error('Docusaurus error: The <Tabs> component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return null!=r?r:null}({queryString:t,groupId:o});return[(0,i.aZ)(s),(0,r.useCallback)(function(e){if(s){var n=new URLSearchParams(u.location.search);n.set(s,e),u.replace(Object.assign({},u.location,{search:n.toString()}))}},[s,u])]}function f(e){var n,t,a,i,s,l,c=e.defaultValue,f=e.queryString,v=void 0!==f&&f,p=e.groupId,m=d(e),g=(0,r.useState)(function(){return function(e){var n,t=e.defaultValue,r=e.tabValues;if(0===r.length)throw new Error("Docusaurus error: the <Tabs> component requires at least one <TabItem> children component");if(t){if(!h({value:t,tabValues:r}))throw new Error('Docusaurus error: The <Tabs> has a defaultValue "'+t+'" but none of its children has the corresponding value. Available values are: '+r.map(function(e){return e.value}).join(", ")+". If you intend to show no default tab, use defaultValue={null} instead.");return t}var a=null!=(n=r.find(function(e){return e.default}))?n:r[0];if(!a)throw new Error("Unexpected error: 0 tabValues");return a.value}({defaultValue:c,tabValues:m})}),w=g[0],x=g[1],k=b({queryString:v,groupId:p}),j=k[0],y=k[1],A=(a=function(e){return e?"docusaurus.tab."+e:null}({groupId:p}.groupId),i=(0,u.Dv)(a),s=i[0],l=i[1],[s,(0,r.useCallback)(function(e){a&&l.set(e)},[a,l])]),E=A[0],T=A[1],I=function(){var e=null!=j?j:E;return h({value:e,tabValues:m})?e:null}();return(0,o.A)(function(){I&&x(I)},[I]),{selectedValue:w,selectValue:(0,r.useCallback)(function(e){if(!h({value:e,tabValues:m}))throw new Error("Can't select invalid tab value="+e);x(e),y(e),T(e)},[y,T,m]),tabValues:m,lazy:null!=(n=e.lazy)&&n,block:null!=(t=e.block)&&t}}var v=(0,r.createContext)(null);function p(){var e=r.useContext(v);if(!e)throw new Error("useTabsContext() must be used within a Tabs component");return e}function m(e){return(0,l.jsx)(v.Provider,{value:e.value,children:e.children})}},4660(e,n,t){var r=t(6321);const a=function(e){var n=e.typeMenu,t=void 0===n?"tag":n,a=e.idMenuOption,o=e.idOption,i="model"!==t?"sidebar-tag/":"sidebar-models",u="model"!==t?"#tag/":"#model/",s="model"!==t?i+a:i,l=u+a,c="model"!==t?i+(void 0===o?null:o):i,d=u+a,h=document.getElementById("iframePanel"),b=h.contentDocument.querySelectorAll("li.sidebar-group-item ul");b.length>0&&b.forEach(function(e){return e.parentNode.querySelector("button").click()}),window.setTimeout(function(){h.contentDocument.getElementById(s).querySelector("button").click()},700),h.contentWindow.location.hash=l,window.setTimeout(function(){h.contentDocument.getElementById(c).querySelector("a.sidebar-heading-link").click()},1e3),h.contentWindow.location.hash=d,(0,r.A)()};
1t.d(n,["A",0,a])},8453(e,n,t){t.d(n,{R:()=>i,x:()=>u});var r=t(6540);const a={},o=r.createContext(a);function i(e){const n=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function u(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:i(e.components),r.createElement(o.Provider,{value:n},e.children)}}}]);
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.