PageSourceSearch

https://api.paydoss.com/docs/assets/js/6051ecf5.1e0ff40d.js

js paydoss.com collected 2026-10-02 01:41:44 UTC 5,777 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapi_docs_template=self.webpackChunkapi_docs_template||[]).push([[2020],{62133:(e,t,a)=>{a.r(t),a.d(t,{assets:()=>f,contentTitle:()=>g,default:()=>b,frontMatter:()=>y,metadata:()=>s,toc:()=>v});const s=JSON.parse('{"id":"delete-a-leave","title":"Delete a leave","description":"Delete a leave","source":"@site/docs/delete-a-leave.api.mdx","sourceDirName":".","slug":"/delete-a-leave","permalink":"/docs/delete-a-leave","draft":false,"unlisted":false,"editUrl":null,"tags":[],"version":"current","frontMatter":{"id":"delete-a-leave","title":"Delete a leave","description":"Delete a leave","sidebar_label":"Delete a leave","hide_title":true,"hide_table_of_contents":true,"api":"eJzNVs1uGzcQfhViLm4BVj+p3cPelNpGXRiF4SjIwRCK8XIsMeaSG5IrW13ss+Qt+gJF3ysYciXLkprWBgrktktyht9883FmWog4D1DcwCXhkmAmoUaPFUXyvNyCxYqgAK1AgrZQQI1xARIUhdLrOmrHi8laXJyCBE+fGu1JQRF9QxJCuaAKoWghrurkykaakwcJ9IhVbQiK8Zsfj09+6rpZNqcQ3zq1Ypsnb3doAkkonY1kI+9hXRtdIkMYfgyMo926rfauJh81Bf57BnfnF64Jg7PiznmhyFBalWu4IXpt5yChwsdLsvO4gOJkNJJgG2PwluFzoF23sXC3H6mM0HW85inUzoaM4s1otH975i5dTEqEpiwphLvGmBW8OtwQMTZhi/RNFBvOob8JOgkK4wEnFYWAc/q6l4x+G/U6lAEc4uQwS8ej8T4x7y02ceG8/oPU/0sFee88E/GfQn6Gq5PZ+vfSqRfaKYqozTa0f2Xp+J/kY10Ud66x3xRRO9AGLyEr2f7m4nkK6jVsnRx6bO/IL8mLHMc3RNXEZkzClWXjPSnxsNCGRIm2JGO0nYu4IGGYlRfxOPVoA5Yc1jlq8yrldRIClY3XcZV6wi2hJz9puBTezLhqPyf5NBUAgRkul06KC6eggFwaQOYuUsBwOR6mQ8NWqw74Hs5Pbj2NN1DAIsY6FMMh1npQ40q5EAalq/Za0OTqQrAFw1mjfcf5yynbxryJmn3vOXqbToro7skKzsGK4r02ZJX2FQ3EL4SK/BGKo0n/nJNoCtEbtsmyOxJ/f6Z7o60iMf/rT6vIa1OR0Ur7Acge0LnzFUYo4NcPU+ibJSPLuykfLMbrp654tk7trrT75Hfcp+9cilLHpIGrTJuYXF3sRbu1J5Qrm4psZHichXxiPBgNxuy2diFWmB5GPxXsJXqnzfY0R3qMw9qgtuwmpbXtFXADyzFIWNsXWvEMsnAh8l7b3mKg9950HS9/asizAmcSluh1br43LSgd+PtpSNiBsXnl8N11P098L7ZGloMw+0W03IaXaBr+Awn3tMrzUDfrJCySGBKKvPFzvuuHKZs/Ge5Vl06uLSZlSXX86tnZ1hM6Pbs8m56xgPoRqUo1ADw+8PSFDxmmS9En6ae1FgzaeZMKEWSvLC58/iB62a3VmeI6SETb5hPTpPVuw0vSPlPTdV8Ak6OTdw==","sidebar_class_name":"delete api-method","info_path":"paydoss-api","custom_edit_url":null},"sidebar":"docs-1.0.1","previous":{"title":"Leave","permalink":"/docs/leave"},"next":{"title":"Create a leave demand","permalink":"/docs/create-a-leave-demand"}}');var n=a(74848),r=a(28453),i=a(57742),l=a.n(i),o=a(78178),p=a.n(o),c=a(19624),d=a.n(c),m=a(96226),u=a.n(m),h=(a(77675),a(19365),a(51107));const y={id:"delete-a-leave",title:"Delete a leave",description:"Delete a leave",sidebar_label:"Delete a leave",hide_title:!0,hide_table_of_contents:!0,api:"eJzNVs1uGzcQfhViLm4BVj+p3cPelNpGXRiF4SjIwRCK8XIsMeaSG5IrW13ss+Qt+gJF3ysYciXLkprWBgrktktyht9883FmWog4D1DcwCXhkmAmoUaPFUXyvNyCxYqgAK1AgrZQQI1xARIUhdLrOmrHi8laXJyCBE+fGu1JQRF9QxJCuaAKoWghrurkykaakwcJ9IhVbQiK8Zsfj09+6rpZNqcQ3zq1Ypsnb3doAkkonY1kI+9hXRtdIkMYfgyMo926rfauJh81Bf57BnfnF64Jg7PiznmhyFBalWu4IXpt5yChwsdLsvO4gOJkNJJgG2PwluFzoF23sXC3H6mM0HW85inUzoaM4s1otH975i5dTEqEpiwphLvGmBW8OtwQMTZhi/RNFBvOob8JOgkK4wEnFYWAc/q6l4x+G/U6lAEc4uQwS8ej8T4x7y02ceG8/oPU/0sFee88E/GfQn6Gq5PZ+vfSqRfaKYqozTa0f2Xp+J/kY10Ud66x3xRRO9AGLyEr2f7m4nkK6jVsnRx6bO/IL8mLHMc3RNXEZkzClWXjPSnxsNCGRIm2JGO0nYu4IGGYlRfxOPVoA5Yc1jlq8yrldRIClY3XcZV6wi2hJz9puBTezLhqPyf5NBUAgRkul06KC6eggFwaQOYuUsBwOR6mQ8NWqw74Hs5Pbj2NN1DAIsY6FMMh1npQ40q5EAalq/Za0OTqQrAFw1mjfcf5yynbxryJmn3vOXqbToro7skKzsGK4r02ZJX2FQ3EL4SK/BGKo0n/nJNoCtEbtsmyOxJ/f6Z7o60iMf/rT6vIa1OR0Ur7Acge0LnzFUYo4NcPU+ibJSPLuykfLMbrp654tk7trrT75Hfcp+9cilLHpIGrTJuYXF3sRbu1J5Qrm4psZHichXxiPBgNxuy2diFWmB5GPxXsJXqnzfY0R3qMw9qgtuwmpbXtFXADyzFIWNsXWvEMsnAh8l7b3mKg9950HS9/asizAmcSluh1br43LSgd+PtpSNiBsXnl8N11P098L7ZGloMw+0W03IaXaBr+Awn3tMrzUDfrJCySGBKKvPFzvuuHKZs/Ge5Vl06uLSZlSXX86tnZ1hM6Pbs8m56xgPoRqUo1ADw+8PSFDxmmS9En6ae1FgzaeZMKEWSvLC58/iB62a3VmeI6SETb5hPTpPVuw0vSPlPTdV8Ak6OTdw==",sidebar_class_name:"delete api-method",info_path:"paydoss-api",custom_edit_url:null},g=void 0,f={},v=[];function x(e){const t={p:"p",...(0,r.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(h.default,{as:"h1",className:"openapi__heading",children:"Delete a leave"}),"\n",(0,n.jsx)(l(),{method:"delete",path:"/v1/leave/{id}",context:"endpoint"}),"\n",(0,n.jsx)(t.p,{children:"Delete a leave"}),"\n",(0,n.jsx)(h.default,{id:"request",as:"h2",className:"openapi-tabs__heading",children:"Request"}),"\n",(0,n.jsx)(p(),{parameters:[{name:"id",in:"path",description:"Leave ID",required:!0,schema:{type:"integer",example:123456}}]}),"\n",(0,n.jsx)(d(),{title:"Body",body:{required:!1,content:{"application/json":{schema:{properties:{description:{description:"Reason for deleti
1on",type:"string",maxLength:500,nullable:!0}},type:"object"}}}}}),"\n",(0,n.jsx)(u(),{id:void 0,label:void 0,responses:{200:{description:"Leave deleted successfully",content:{"application/json":{schema:{properties:{status:{type:"string",example:"success"},data:{properties:{message:{type:"string",example:"Leave successfully deleted."}},type:"object"}},type:"object"}}}},401:{description:"Unauthorized",content:{"application/json":{schema:{properties:{status:{type:"string",example:"error"},message:{type:"string",example:"Unauthorized"},error_code:{type:"string",example:"Unauthorized"},details:{type:"object"}},type:"object"}}}},404:{description:"Leave not found",content:{"application/json":{schema:{properties:{status:{type:"string",example:"error"},message:{type:"string",example:"Leave not found."},error_code:{type:"string",example:"LeaveNotFound"},details:{type:"object"}},type:"object"}}}},500:{description:"Server error",content:{"application/json":{schema:{properties:{status:{type:"string",example:"error"},message:{type:"string",example:"An error occurred while cancelling the leave."},error_code:{type:"string",example:"TransactionFailed"},details:{type:"object"}},type:"object"}}}}}})]})}function b(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(x,{...e})}):x(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.