The unique identifier of the resource in our system.
Response
A resource: a named measure of usage, in units or in money, that says which events count and how they add up. A resource has no price.
id
string<uuid>
required
The unique identifier of the resource in our system.
name
string
required
The name of the resource.
Example:
"Emails sent"
type
enum<string>
required
Whether the resource measures usage in units (unit) or in money (currency).
Available options:
unit,
currency
aggregation
enum<string>
required
How the resource turns the events of a charge period into one number from the aggregated property: their sum (sum), the last value (last_during_period) or the count of distinct values (unique).
Available options:
sum,
last_during_period,
unique
aggregateByField
string
required
The aggregated property: the property of the events that the aggregation reads.
Example:
"value"
billingModel
enum<string>
required
How the resource reads its values in a charge period: in_full takes all the events, and proration weighs each value by the days that it was in effect.
Available options:
in_full,
proration
itemId
string<uuid>
required
The id of the item of the resource, the catalog record that names what a charge on the resource bills.
filters
object[]
required
The event filters of the resource: the event names and the property values that an event must have to count for the resource. The filters of one group match when any of them matches, and every group must match. At least one filter has the property eventName.
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"Aira","colors":{"primary":"#542691","light":"#B197FC","dark":"#3F1B6E"},"logo":{"light":"https://mintcdn.com/aira-e93056c6/NIoErVFaJlphCKFi/logo/light.svg?fit=max\u0026auto=format\u0026n=NIoErVFaJlphCKFi\u0026q=85\u0026s=d222c0199c2a89d6e27d97ba6ef28275","dark":"https://mintcdn.com/aira-e93056c6/NIoErVFaJlphCKFi/logo/dark.svg?fit=max\u0026auto=format\u0026n=NIoErVFaJlphCKFi\u0026q=85\u0026s=5ccb5cfecbe2f539cba0bffdece168a1"},"favicon":"https://mintcdn.com/aira-e93056c6/NIoErVFaJlphCKFi/favicon.svg?fit=max\u0026auto=format\u0026n=NIoErVFaJlphCKFi\u0026q=85\u0026s=824a706ab0a0bbf9242b5b7f152905b1","api":{"mdx":{"server":["https://api.useaira.com"]}},"navbar":{"links":[{"href":"mailto:contato@useaira.com","label":"Suporte"}],"primary":{"type":"button","label":"Login","href":"https://app.useaira.com"}},"footer":{"socials":{"linkedin":"https://linkedin.com/company/useaira"}},"search":{},"fonts":{"family":"Geist"},"icons":{"library":"lucide"},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"aira-e93056c6","hasAudioNarration":false,"actualSubdomain":"aira-e93056c6","customDomains":["docs.useaira.com"],"gitSource":{"type":"github","owner":"aira-dev","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b08e304c08b84f405fb34a1","clientVersion":"0.0.4340","searchFilterCounts":[{"language":"default","tag":"Referência da API","count":294},{"language":"default","tag":"Invoices","count":43},{"language":"default","tag":"Documentação","count":39},{"language":"default","tag":"Guias","count":16},{"language":"default","tag":"Integrações","count":11},{"language":"default","tag":"Contracts","count":11},{"language":"default","tag":"Dunning","count":11},{"language":"default","tag":"Plan Instances","count":11},{"language":"default","tag":"Contratos","count":10},{"language":"default","tag":"Faturas","count":9}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"/* vietnamese */\n@font-face {\n font-family: 'Newsreader';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/newsreader/v26/cY9VfjOCX1hbuyalUrK49dLafXjalZCsZBsgBgbCJYQraA.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Newsreader';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/newsreader/v26/cY9VfjOCX1hbuyalUrK49dLafXjalZCsZBsgBgbDJYQraA.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Newsreader';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/newsreader/v26/cY9VfjOCX1hbuyalUrK49dLafXjalZCsZBsgBgbNJYQ.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n#page-title,.aira-display{font-family:\"Newsreader\", Georgia, \"Times New Roman\", serif;font-weight:400}#page-title{font-size:2.125rem;line-height:2.5rem;letter-spacing:-0.02em}@media (min-width: 640px){#page-title{font-size:2.5rem;line-height:2.875rem}}div.eyebrow{font-weight:500;letter-spacing:0.06em;text-transform:uppercase}div.sidebar-group-header{color:rgb(var(--primary));font-size:0.6875rem;font-weight:500;letter-spacing:0.06em;text-transform:uppercase}.dark div.sidebar-group-header{color:rgb(var(--primary-light))}#content-area a.link{color:rgb(var(--primary));font-weight:500;border-bottom-color:rgb(var(--primary-light))}#content-area a.link:hover{border-bottom-color:rgb(var(--primary))}.dark #content-area a.link{color:rgb(var(--primary-light));border-bottom-color:rgb(var(--primary-light) / 0.4)}.dark #content-area a.link:hover{border-bottom-color:rgb(var(--primary-light))}#content-area table thead{border-bottom:none}#content-area table th{background-color:#f3f4f6;color:#4f545b;font-weight:500}#content-area table th:first-child,#content-area table td:first-child{padding-left:0.75rem}#content-area table th:first-child{border-radius:6px 0 0 6px}#content-area table th:last-child{border-radius:0 6px 6px 0}.dark #content-area table th{background-color:rgb(255 255 255 / 0.05);color:#d4d4d8}[data-component-part=\"step-number\"]>div{background-color:rgb(var(--primary) / 0.1);color:rgb(var(--primary))}.dark [data-component-part=\"step-number\"]>div{background-color:rgb(var(--primary-light) / 0.12);color:rgb(var(--primary-light))}"}]}
{"page":{"pagePath":"api-reference/resources/archive-resource","slug":"/api-reference/resources/archive-resource","pageMetadata":{"title":"Archive resource","description":"Archives a resource, so that `GET /v1/resources` leaves it out unless `includeArchived` is true.\n\nRequires the role `resources:write`.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/resources/{id}/archive","href":"/api-reference/resources/archive-resource","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Archives a resource, so that \", _jsx(_components.code, {\n children: \"GET /v1/resources\"\n }), \" leaves it out unless \", _jsx(_components.code, {\n children: \"includeArchived\"\n }), \" is true.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Requires the role \", _jsx(_components.code, {\n children: \"resources:write\"\n }), \".\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Archive resource","description":"Archives a resource, so that `GET /v1/resources` leaves it out unless `includeArchived` is true.\n\nRequires the role `resources:write`.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/resources/{id}/archive","href":"/api-reference/resources/archive-resource","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Archive resource","tags":["Resources"],"description":"Archives a resource, so that `GET /v1/resources` leaves it out unless `includeArchived` is true.\n\nRequires the role `resources:write`.","parameters":["3ea5f6a5-bc1d-455f-8895-c00be48775cf"],"x-public-api":true,"x-errors":[{"status":400,"code":"resource_is_already_archived","when":"the resource is already archived"},{"status":404,"code":"resource_not_found","when":"no resource of the tenant has the `id`"},{"status":409,"code":"resource_has_active_plan_charge","when":"a plan charge names the resource, and `details.references.planCharges` gives the `count` of those plan charges and the `sampleNames` of up to three of them"}],"x-required-roles":["resources:write"],"responses":{"200":"cf4a7437-7bd9-4a9d-a48b-4fd7fa109eaa","400":"f23d12b9-cdf5-485c-ab74-804f4c9758d7","401":"77bcf1e3-8985-4d9c-bde4-016caa27f653","403":"61c8319a-b97b-4239-b593-0731d8164c9f","404":"214f38d4-cf75-462a-9cc9-746ddf49dbcd","409":"ba92f62f-de11-4573-8b21-861b822fe832"},"method":"post","type":"path","servers":["6423522f-10c2-4bfd-9612-2aa2feb25713"],"security":["673eb9be-1b9d-496c-955b-95753f212bd5"],"path":"/v1/resources/{id}/archive","baseUrlOptions":["https://api.useaira.com"],"title":"Archive resource","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"3ea5f6a5-bc1d-455f-8895-c00be48775cf":{"schema":{"type":"string","format":"uuid","isRequired":true,"description":"The unique identifier of the resource in our system.","uniqueKey":"","typeLabel":"string\u003cuuid>"},"in":"path","name":"id","required":true,"description":"The unique identifier of the resource in our system."}},"responses":{"cf4a7437-7bd9-4a9d-a48b-4fd7fa109eaa":{"description":"A resource: a named measure of usage, in units or in money, that says which events count and how they add up. A resource has no price.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"description":"The unique identifier of the resource in our system.","type":"string","format":"uuid","isRequired":true,"uniqueKey":"id","typeLabel":"string\u003cuuid>"},"name":{"description":"The name of the resource.","type":"string","example":"Emails sent","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"type":{"description":"Whether the resource measures usage in units (`unit`) or in money (`currency`).","type":"string","enum":["unit","currency"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"aggregation":{"description":"How the resource turns the events of a charge period into one number from the aggregated property: their sum (`sum`), the last value (`last_during_period`) or the count of distinct values (`unique`).","type":"string","enum":["sum","last_during_period","unique"],"isRequired":true,"uniqueKey":"aggregation","typeLabel":"enum\u003cstring>"},"aggregateByField":{"description":"The aggregated property: the property of the events that the aggregation reads.","type":"string","example":"value","isRequired":true,"uniqueKey":"aggregateByField","typeLabel":"string"},"billingModel":{"description":"How the resource reads its values in a charge period: `in_full` takes all the events, and `proration` weighs each value by the days that it was in effect.","type":"string","enum":["in_full","proration"],"isRequired":true,"uniqueKey":"billingModel","typeLabel":"enum\u003cstring>"},"itemId":{"description":"The id of the item of the resource, the catalog record that names what a charge on the resource bills.","type":"string","format":"uuid","isRequired":true,"uniqueKey":"itemId","typeLabel":"string\u003cuuid>"},"filters":{"description":"The event filters of the resource: the event names and the property values that an event must have to count for the resource. The filters of one `group` match when any of them matches, and every group must match. At least one filter has the property `eventName`.","type":"array","items":{"type":"object","properties":{"property":{"description":"The property that the filter compares: `eventName` compares the event name, and any other value compares the property of the event with that name. Repeat a property to match any of several values.","type":"string","pattern":"^[a-zA-Z0-9_-]+$","example":"eventName","isRequired":true,"uniqueKey":"filters.items.[INDEX].property","typeLabel":"string"},"operator":{"description":"How the filter compares the property with the value: `equals` matches a property that equals the value.","type":"string","enum":["equals"],"isRequired":true,"uniqueKey":"filters.items.[INDEX].operator","typeLabel":"enum\u003cstring>"},"value":{"description":"The value that the filter compares the property with, as written, with no change of case or accents.","type":"string","example":"email_sent","isRequired":true,"uniqueKey":"filters.items.[INDEX].value","typeLabel":"string"},"group":{"description":"The group of the filter, which is its property. The filters of one group match when any of them matches, and every group must match.","type":"string","example":"type","isRequired":true,"uniqueKey":"filters.items.[INDEX].group","typeLabel":"string"}},"required":["property","operator","value","group"],"additionalProperties":false,"uniqueKey":"filters.items.[INDEX]","typeLabel":"object"},"example":[{"property":"eventName","operator":"equals","value":"email_sent","group":"eventName"},{"property":"type","operator":"equals","value":"transactional","group":"type"},{"property":"type","operator":"equals","value":"marketing","group":"type"}],"isRequired":true,"uniqueKey":"filters","typeLabel":"object[]"},"archivedAt":{"oneOf":[{"description":"When the resource was archived, or null when it is not archived.","type":"string","format":"date-time","isRequired":true,"uniqueKey":"archivedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"description":"When the resource was archived, or null when it is not archived.","type":"null","format":"date-time","isRequired":true,"uniqueKey":"archivedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"archivedAt","typeLabel":"string\u003cdate-time> | null"}},"required":["id","name","type","aggregation","aggregateByField","billingModel","itemId","filters","archivedAt"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"Emails sent","type":"unit","aggregation":"sum","aggregateByField":"value","billingModel":"in_full","itemId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","filters":[{"property":"eventName","operator":"equals","value":"email_sent","group":"eventName"},{"property":"type","operator":"equals","value":"transactional","group":"type"},{"property":"type","operator":"equals","value":"marketing","group":"type"}],"archivedAt":"2023-11-07T05:31:56Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"f23d12b9-cdf5-485c-ab74-804f4c9758d7":{"description":"The request cannot succeed as sent.\n\n- `json_schema_validation_error`: a path parameter breaks the schema of the endpoint.\n- `resource_is_already_archived`: the resource is already archived.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"A sentence for a person that says what failed. It can change, so a system compares the code instead.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"The identifier of the error, which a system compares to decide what to do. It never changes.","enum":["json_schema_validation_error","resource_is_already_archived"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"details":{"oneOf":[{"type":"object","description":"The data of the error, when it has any, such as the fields that failed the validation.","additionalProperties":true,"uniqueKey":"details.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"details.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"The data of the error, when it has any, such as the fields that failed the validation.","uniqueKey":"details.oneOf.1","typeLabel":"any[]"}],"uniqueKey":"details","typeLabel":"object | any[]"},"causations":{"type":"array","description":"The errors that caused this one, when several did, each with its own message, code and details.","items":{"type":"object","properties":{"message":{"type":"string","description":"A sentence for a person that says what failed.","isRequired":true,"uniqueKey":"causations.items.[INDEX].message","typeLabel":"string"},"code":{"type":"string","description":"The identifier of the error.","isRequired":true,"uniqueKey":"causations.items.[INDEX].code","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"description":"The data of the error, when it has any.","uniqueKey":"causations.items.[INDEX].details","typeLabel":"object"}},"required":["message","code"],"additionalProperties":false,"uniqueKey":"causations.items.[INDEX]","typeLabel":"object"},"uniqueKey":"causations","typeLabel":"object[]"}},"required":["message","code"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"json_schema_validation_error":{"title":"json_schema_validation_error","value":{"message":"'id' must match format \"uuid\"","code":"json_schema_validation_error"}},"resource_is_already_archived":{"title":"resource_is_already_archived","value":{"message":"resource is already archived","code":"resource_is_already_archived"}}},"exampleType":"examples"}},"exampleType":"examples"},"77bcf1e3-8985-4d9c-bde4-016caa27f653":{"description":"The request carries no API key.\n\n- `no_authorization`: the request carries no API key in the `X-API-KEY` header.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"A sentence for a person that says what failed. It can change, so a system compares the code instead.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"The identifier of the error, which a system compares to decide what to do. It never changes.","enum":["no_authorization"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"details":{"oneOf":[{"type":"object","description":"The data of the error, when it has any, such as the fields that failed the validation.","additionalProperties":true,"uniqueKey":"details.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"details.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"The data of the error, when it has any, such as the fields that failed the validation.","uniqueKey":"details.oneOf.1","typeLabel":"any[]"}],"uniqueKey":"details","typeLabel":"object | any[]"},"causations":{"type":"array","description":"The errors that caused this one, when several did, each with its own message, code and details.","items":{"type":"object","properties":{"message":{"type":"string","description":"A sentence for a person that says what failed.","isRequired":true,"uniqueKey":"causations.items.[INDEX].message","typeLabel":"string"},"code":{"type":"string","description":"The identifier of the error.","isRequired":true,"uniqueKey":"causations.items.[INDEX].code","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"description":"The data of the error, when it has any.","uniqueKey":"causations.items.[INDEX].details","typeLabel":"object"}},"required":["message","code"],"additionalProperties":false,"uniqueKey":"causations.items.[INDEX]","typeLabel":"object"},"uniqueKey":"causations","typeLabel":"object[]"}},"required":["message","code"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"no_authorization":{"title":"no_authorization","value":{"message":"No authorization provided","code":"no_authorization"}}},"exampleType":"examples"}},"exampleType":"examples"},"61c8319a-b97b-4239-b593-0731d8164c9f":{"description":"The API key cannot call the endpoint.\n\n- `bad_auth`: the API key does not hold the role that the endpoint requires.\n- `invalid_api_key`: the API key does not exist.\n- `deactivated_api_key`: the API key is deactivated.\n- `revoked_api_key`: the API key is revoked.\n- `expired_api_key`: the API key is past its expiry date.\n- `ip_not_allowed`: the tenant does not allow the IP of the request.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"A sentence for a person that says what failed. It can change, so a system compares the code instead.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"The identifier of the error, which a system compares to decide what to do. It never changes.","enum":["bad_auth","invalid_api_key","deactivated_api_key","revoked_api_key","expired_api_key","ip_not_allowed"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"details":{"oneOf":[{"type":"object","description":"The data of the error, when it has any, such as the fields that failed the validation.","additionalProperties":true,"uniqueKey":"details.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"details.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"The data of the error, when it has any, such as the fields that failed the validation.","uniqueKey":"details.oneOf.1","typeLabel":"any[]"}],"uniqueKey":"details","typeLabel":"object | any[]"},"causations":{"type":"array","description":"The errors that caused this one, when several did, each with its own message, code and details.","items":{"type":"object","properties":{"message":{"type":"string","description":"A sentence for a person that says what failed.","isRequired":true,"uniqueKey":"causations.items.[INDEX].message","typeLabel":"string"},"code":{"type":"string","description":"The identifier of the error.","isRequired":true,"uniqueKey":"causations.items.[INDEX].code","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"description":"The data of the error, when it has any.","uniqueKey":"causations.items.[INDEX].details","typeLabel":"object"}},"required":["message","code"],"additionalProperties":false,"uniqueKey":"causations.items.[INDEX]","typeLabel":"object"},"uniqueKey":"causations","typeLabel":"object[]"}},"required":["message","code"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"bad_auth":{"title":"bad_auth","value":{"message":"role resources:write can not be satisfied","code":"bad_auth"}},"invalid_api_key":{"title":"invalid_api_key","value":{"message":"Invalid API key","code":"invalid_api_key"}},"deactivated_api_key":{"title":"deactivated_api_key","value":{"message":"Deactivated API key","code":"deactivated_api_key"}},"revoked_api_key":{"title":"revoked_api_key","value":{"message":"Revoked API key","code":"revoked_api_key"}},"expired_api_key":{"title":"expired_api_key","value":{"message":"Expired API key","code":"expired_api_key"}},"ip_not_allowed":{"title":"ip_not_allowed","value":{"message":"IP not allowed","code":"ip_not_allowed"}}},"exampleType":"examples"}},"exampleType":"examples"},"214f38d4-cf75-462a-9cc9-746ddf49dbcd":{"description":"A record that the request names does not exist in the tenant.\n\n- `resource_not_found`: no resource of the tenant has the `id`.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"A sentence for a person that says what failed. It can change, so a system compares the code instead.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"The identifier of the error, which a system compares to decide what to do. It never changes.","enum":["resource_not_found"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"details":{"oneOf":[{"type":"object","description":"The data of the error, when it has any, such as the fields that failed the validation.","additionalProperties":true,"uniqueKey":"details.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"details.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"The data of the error, when it has any, such as the fields that failed the validation.","uniqueKey":"details.oneOf.1","typeLabel":"any[]"}],"uniqueKey":"details","typeLabel":"object | any[]"},"causations":{"type":"array","description":"The errors that caused this one, when several did, each with its own message, code and details.","items":{"type":"object","properties":{"message":{"type":"string","description":"A sentence for a person that says what failed.","isRequired":true,"uniqueKey":"causations.items.[INDEX].message","typeLabel":"string"},"code":{"type":"string","description":"The identifier of the error.","isRequired":true,"uniqueKey":"causations.items.[INDEX].code","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"description":"The data of the error, when it has any.","uniqueKey":"causations.items.[INDEX].details","typeLabel":"object"}},"required":["message","code"],"additionalProperties":false,"uniqueKey":"causations.items.[INDEX]","typeLabel":"object"},"uniqueKey":"causations","typeLabel":"object[]"}},"required":["message","code"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"resource_not_found":{"title":"resource_not_found","value":{"message":"resource not found","code":"resource_not_found"}}},"exampleType":"examples"}},"exampleType":"examples"},"ba92f62f-de11-4573-8b21-861b822fe832":{"description":"Other data blocks the action.\n\n- `resource_has_active_plan_charge`: a plan charge names the resource, and `details.references.planCharges` gives the `count` of those plan charges and the `sampleNames` of up to three of them.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"A sentence for a person that says what failed. It can change, so a system compares the code instead.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"The identifier of the error, which a system compares to decide what to do. It never changes.","enum":["resource_has_active_plan_charge"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"details":{"oneOf":[{"type":"object","description":"The data of the error, when it has any, such as the fields that failed the validation.","additionalProperties":true,"uniqueKey":"details.oneOf.0","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"details.oneOf.1.items.[INDEX]","typeLabel":"any"},"description":"The data of the error, when it has any, such as the fields that failed the validation.","uniqueKey":"details.oneOf.1","typeLabel":"any[]"}],"uniqueKey":"details","typeLabel":"object | any[]"},"causations":{"type":"array","description":"The errors that caused this one, when several did, each with its own message, code and details.","items":{"type":"object","properties":{"message":{"type":"string","description":"A sentence for a person that says what failed.","isRequired":true,"uniqueKey":"causations.items.[INDEX].message","typeLabel":"string"},"code":{"type":"string","description":"The identifier of the error.","isRequired":true,"uniqueKey":"causations.items.[INDEX].code","typeLabel":"string"},"details":{"type":"object","additionalProperties":true,"description":"The data of the error, when it has any.","uniqueKey":"causations.items.[INDEX].details","typeLabel":"object"}},"required":["message","code"],"additionalProperties":false,"uniqueKey":"causations.items.[INDEX]","typeLabel":"object"},"uniqueKey":"causations","typeLabel":"object[]"}},"required":["message","code"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"resource_has_active_plan_charge":{"title":"resource_has_active_plan_charge","value":{"message":"resource is in use by an active plan charge and cannot be archived","code":"resource_has_active_plan_charge"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"673eb9be-1b9d-496c-955b-95753f212bd5":{"ApiKey":{"type":"apiKey","description":"API Key Authentication.","name":"X-API-KEY","in":"header","scopes":[],"schemeName":"ApiKey"}}},"servers":{"6423522f-10c2-4bfd-9612-2aa2feb25713":{"url":"https://api.useaira.com","description":"API base URL"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","description":"API Key Authentication.","name":"X-API-KEY","in":"header","scopes":[],"schemeName":"ApiKey"},"schema":{"title":"X-API-KEY","type":"string","description":"API Key Authentication.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKey","name":"X-API-KEY"}],"title":"ApiKey"}]},"originalFileLocation":"api-reference/openapi.yaml"},"subdomain":"aira-e93056c6","siteName":"Aira","title":"Archive resource - Aira","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-27T01:55:28.524Z","originalFileLocation":"api-reference/resources/archive-resource.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Archives a resource, so that GET /v1/resources leaves it out unless includeArchived is true. Requires the role resources:write.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Aira\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/aira-e93056c6/rFHNG1I4T4E6tM9X/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/aira-e93056c6/rFHNG1I4T4E6tM9X/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/aira-e93056c6/rFHNG1I4T4E6tM9X/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/aira-e93056c6/rFHNG1I4T4E6tM9X/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/aira-e93056c6/rFHNG1I4T4E6tM9X/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/aira-e93056c6/rFHNG1I4T4E6tM9X/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/aira-e93056c6/rFHNG1I4T4E6tM9X/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/aira-e93056c6/rFHNG1I4T4E6tM9X/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/aira-e93056c6/rFHNG1I4T4E6tM9X/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Archive resource - Aira\">\u003cmeta data-mint-head property=\"og:description\" content=\"Archives a resource, so that GET /v1/resources leaves it out unless includeArchived is true. Requires the role resources:write.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Aira\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.useaira.com/api-reference/resources/archive-resource\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://aira-e93056c6.mintlify.site/_mintlify/api/og/v2?division=Resources\u0026amp;title=Archive+resource\u0026amp;description=Archives+a+resource%2C+so+that+%60GET+%2Fv1%2Fresources%60+leaves+it+out+unless+%60includeArchived%60+is+true.%0A%0ARequires+the+role+%60resources%3Awrite%60.\u0026amp;theme=8169730228d89f2c41115879\u0026amp;signature=f1cf8d2931c36bed0ad4b7c0611f13c92a2e93d146fe9fec97dd1ab95c3e60b3\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Archive resource - Aira\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Archives a resource, so that GET /v1/resources leaves it out unless includeArchived is true. Requires the role resources:write.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://aira-e93056c6.mintlify.site/_mintlify/api/og/v2?division=Resources\u0026amp;title=Archive+resource\u0026amp;description=Archives+a+resource%2C+so+that+%60GET+%2Fv1%2Fresources%60+leaves+it+out+unless+%60includeArchived%60+is+true.%0A%0ARequires+the+role+%60resources%3Awrite%60.\u0026amp;theme=8169730228d89f2c41115879\u0026amp;signature=f1cf8d2931c36bed0ad4b7c0611f13c92a2e93d146fe9fec97dd1ab95c3e60b3\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/aira-e93056c6/rFHNG1I4T4E6tM9X/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Aira\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#542691\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.useaira.com/api-reference/resources/archive-resource\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/resources/archive-resource.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.useaira.com/#organization\",\"name\":\"Aira\",\"url\":\"https://docs.useaira.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/aira-e93056c6/NIoErVFaJlphCKFi/logo/light.svg?fit=max\u0026auto=format\u0026n=NIoErVFaJlphCKFi\u0026q=85\u0026s=d222c0199c2a89d6e27d97ba6ef28275\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.useaira.com#website\",\"name\":\"Aira\",\"url\":\"https://docs.useaira.com\",\"publisher\":{\"@id\":\"https://docs.useaira.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.useaira.com/api-reference/resources/archive-resource#webpage\",\"url\":\"https://docs.useaira.com/api-reference/resources/archive-resource\",\"name\":\"Archive resource\",\"description\":\"Archives a resource, so that GET /v1/resources leaves it out unless includeArchived is true. Requires the role resources:write.\",\"dateModified\":\"2026-11-27T01:55:28.524Z\",\"isPartOf\":{\"@id\":\"https://docs.useaira.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.useaira.com/api-reference/resources/archive-resource#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.useaira.com/api-reference/resources/archive-resource#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Referência da API\",\"item\":\"https://docs.useaira.com/api-reference/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Resources\",\"item\":\"https://docs.useaira.com/api-reference/resources/list-resources\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Archive resource\",\"item\":\"https://docs.useaira.com/api-reference/resources/archive-resource\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.useaira.com/api-reference/resources/archive-resource#apireference\",\"headline\":\"Archive resource\",\"name\":\"Archive resource\",\"description\":\"Archives a resource, so that GET /v1/resources leaves it out unless includeArchived is true. Requires the role resources:write.\",\"url\":\"https://docs.useaira.com/api-reference/resources/archive-resource\",\"mainEntityOfPage\":{\"@id\":\"https://docs.useaira.com/api-reference/resources/archive-resource#webpage\"},\"dateModified\":\"2026-11-27T01:55:28.524Z\",\"publisher\":{\"@id\":\"https://docs.useaira.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.useaira.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Aira\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Aira\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/resources/archive-resource.md","siteName":"Aira","nav":{"global":null,"tabs":[{"tab":"Documentação","pages":[{"title":"Documentação","href":""}]},{"tab":"Guias","pages":[{"title":"Guias","href":"/clientes/criar-clientes"}]},{"tab":"Integrações","pages":[{"title":"Integrações","href":"/integracoes/visao-geral"}]},{"tab":"Referência da API","groups":[{"group":"Referência da API","pages":[{"title":"Referência da API","sidebarTitle":"Visão geral","icon":"square-terminal","href":"/api-reference/introduction"},{"title":"Autenticação","sidebarTitle":"Autenticação","icon":"key","href":"/api-reference/autenticacao"},{"title":"Paginação e limites","sidebarTitle":"Paginação e limites","icon":"gauge","href":"/api-reference/paginacao-e-limites"},{"title":"Webhooks","sidebarTitle":"Webhooks","icon":"webhook","href":"/api-reference/webhooks"},{"title":"Respostas de erro","sidebarTitle":"Respostas de erro","icon":"circle-x","href":"/api-reference/error-responses"},{"group":"Customers","pages":[{"title":"List customers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/customers/","href":"/api-reference/customers/list-customers"},{"title":"Create customer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/customers/","href":"/api-reference/customers/create-customer"},{"title":"Fetch customer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/customers/{id}","href":"/api-reference/customers/fetch-customer"},{"title":"Update customer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /v1/customers/{id}","href":"/api-reference/customers/update-customer"},{"title":"Delete customer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /v1/customers/{id}","href":"/api-reference/customers/delete-customer"},{"title":"Fetch customer by external ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/customers/by-external-id/{externalId}","href":"/api-reference/customers/fetch-customer-by-external-id"},{"title":"Update customer by external ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /v1/customers/by-external-id/{externalId}","href":"/api-reference/customers/update-customer-by-external-id"},{"title":"Delete customer by external ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /v1/customers/by-external-id/{externalId}","href":"/api-reference/customers/delete-customer-by-external-id"},{"title":"List customer subsidiaries","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/customers/{id}/subsidiaries","href":"/api-reference/customers/list-customer-subsidiaries"}]},{"group":"Resources","pages":[{"title":"List resources","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/resources/","href":"/api-reference/resources/list-resources"},{"title":"Create resource","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/resources/","href":"/api-reference/resources/create-resource"},{"title":"Fetch resource","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/resources/{id}","href":"/api-reference/resources/fetch-resource"},{"title":"Update resource","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /v1/resources/{id}","href":"/api-reference/resources/update-resource"},{"title":"Delete resource","description":"Deletes a resource, so that `GET /v1/resources` leaves it out even when `includeArchived` is true, and `GET /v1/resources/{id}` no longer finds it.\n\nRequires the role `resources:write`.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /v1/resources/{id}","href":"/api-reference/resources/delete-resource"},{"title":"Archive resource","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/resources/{id}/archive","href":"/api-reference/resources/archive-resource"},{"title":"Unarchive resource","description":"Unarchives a resource, so that `GET /v1/resources` lists it again without `includeArchived`.\n\nRequires the role `resources:write`.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/resources/{id}/unarchive","href":"/api-reference/resources/unarchive-resource"}]},{"group":"Revenue Traceability","pages":[{"title":"List revenue items","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/revenue-items/","href":"/api-reference/revenue-traceability/list-revenue-items"},{"title":"List revenue traceabilities","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/revenue-traceability/","href":"/api-reference/revenue-traceability/list-revenue-traceabilities"},{"title":"List the products that a contract bills","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/revenue-traceability/contract-products","href":"/api-reference/revenue-traceability/list-the-products-that-a-contract-bills"},{"title":"Replace revenue traceabilities","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /v1/revenue-traceability/{contractId}","href":"/api-reference/revenue-traceability/replace-revenue-traceabilities"}]},{"group":"Invoices","pages":[{"title":"Fetch invoice","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/invoices/{id}","href":"/api-reference/invoices/fetch-invoice"},{"title":"Fetch invoice by provider ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/invoices/by-provider-id/{providerId}","href":"/api-reference/invoices/fetch-invoice-by-provider-id"},{"title":"List invoices","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/invoices/","href":"/api-reference/invoices/list-invoices"},{"title":"Create invoice","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/invoices/","href":"/api-reference/invoices/create-invoice"},{"title":"Download invoice PDF","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/invoices/{id}/pdf","href":"/api-reference/invoices/download-invoice-pdf"},{"title":"List invoice discounts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/invoices/{invoiceId}/discounts","href":"/api-reference/invoices/list-invoice-discounts"},{"title":"Create invoice discount","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/invoices/{invoiceId}/discounts","href":"/api-reference/invoices/create-invoice-discount"},{"title":"Download the fiscal document of an invoice","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/invoices/{id}/fiscal-invoice/download","href":"/api-reference/invoices/download-the-fiscal-document-of-an-invoice"},{"title":"List the additional charges of an invoice","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/invoices/{invoiceId}/additional-charges","href":"/api-reference/invoices/list-the-additional-charges-of-an-invoice"},{"title":"Add an additional charge to an invoice","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/invoices/{invoiceId}/additional-charges","href":"/api-reference/invoices/add-an-additional-charge-to-an-invoice"},{"title":"List the attachments of an invoice","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/invoices/{invoiceId}/attachments","href":"/api-reference/invoices/list-the-attachments-of-an-invoice"},{"title":"Upload attachments to an invoice","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/invoices/{invoiceId}/attachments","href":"/api-reference/invoices/upload-attachments-to-an-invoice"},{"title":"Download an attachment of an invoice","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/invoices/{invoiceId}/attachments/{attachmentId}/download","href":"/api-reference/invoices/download-an-attachment-of-an-invoice"},{"title":"Download an invoice artifact","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/invoices/{id}/artifacts/{invoiceArtifactId}","href":"/api-reference/invoices/download-an-invoice-artifact"},{"title":"List invoice syncs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/invoices/sync","href":"/api-reference/invoices/list-invoice-syncs"},{"title":"Fetch invoice status summary","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/invoices/status-summary","href":"/api-reference/invoices/fetch-invoice-status-summary"},{"title":"Fetch a download link of the invoice PDF","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/invoices/{id}/pdf/link","href":"/api-reference/invoices/fetch-a-download-link-of-the-invoice-pdf"},{"title":"Fetch a download link of an invoice artifact","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/invoices/{id}/artifacts/{invoiceArtifactId}/link","href":"/api-reference/invoices/fetch-a-download-link-of-an-invoice-artifact"},{"title":"Fetch a download link of an attachment of an invoice","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/invoices/{invoiceId}/attachments/{attachmentId}/download/link","href":"/api-reference/invoices/fetch-a-download-link-of-an-attachment-of-an-invoice"},{"title":"Fetch a download link of the fiscal document of an invoice","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/invoices/{id}/fiscal-invoice/download/link","href":"/api-reference/invoices/fetch-a-download-link-of-the-fiscal-document-of-an-invoice"},{"title":"Update invoice","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /v1/invoices/{invoiceId}","href":"/api-reference/invoices/update-invoice"},{"title":"Cancel invoice","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/invoices/{invoiceId}/cancel","href":"/api-reference/invoices/cancel-invoice"},{"title":"Mark invoice as in review","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/invoices/{invoiceId}/in-review","href":"/api-reference/invoices/mark-invoice-as-in-review"},{"title":"Issue invoice","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/invoices/{invoiceId}/issue","href":"/api-reference/invoices/issue-invoice"},{"title":"Mark invoice as paid","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/invoices/{invoiceId}/pay","href":"/api-reference/invoices/mark-invoice-as-paid"},{"title":"Recalculate invoices","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/invoices/recalculate","href":"/api-reference/invoices/recalculate-invoices"},{"title":"Create invoice line item group","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/invoices/{invoiceId}/line-item-groups","href":"/api-reference/invoices/create-invoice-line-item-group"},{"title":"Update invoice line item group","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /v1/invoices/{invoiceId}/line-item-groups/{lineItemGroupId}","href":"/api-reference/invoices/update-invoice-line-item-group"},{"title":"Delete invoice line item group","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /v1/invoices/{invoiceId}/line-item-groups/{lineItemGroupId}","href":"/api-reference/invoices/delete-invoice-line-item-group"},{"title":"Create invoice line item","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/invoices/{invoiceId}/line-items","href":"/api-reference/invoices/create-invoice-line-item"},{"title":"Update invoice line item","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /v1/invoices/{invoiceId}/line-items/{lineItemId}","href":"/api-reference/invoices/update-invoice-line-item"},{"title":"Delete invoice line item","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /v1/invoices/{invoiceId}/line-items/{lineItemId}","href":"/api-reference/invoices/delete-invoice-line-item"},{"title":"Update invoice discount","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /v1/invoices/{invoiceId}/discounts/{discountId}","href":"/api-reference/invoices/update-invoice-discount"},{"title":"Delete invoice discount","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /v1/invoices/{invoiceId}/discounts/{discountId}","href":"/api-reference/invoices/delete-invoice-discount"},{"title":"Undo a manual mark as paid","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/invoices/{id}/unpay","href":"/api-reference/invoices/undo-a-manual-mark-as-paid"},{"title":"Reopen an invoice","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/invoices/{id}/reopen","href":"/api-reference/invoices/reopen-an-invoice"},{"title":"Update the custom fields of an invoice","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /v1/invoices/{id}/custom-fields","href":"/api-reference/invoices/update-the-custom-fields-of-an-invoice"},{"title":"Send an invoice by e-mail","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/invoices/{id}/send-email","href":"/api-reference/invoices/send-an-invoice-by-e-mail"},{"title":"Replace an additional charge of an invoice","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /v1/invoices/{invoiceId}/additional-charges/{lineItemId}","href":"/api-reference/invoices/replace-an-additional-charge-of-an-invoice"},{"title":"Delete an additional charge of an invoice","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /v1/invoices/{invoiceId}/additional-charges/{lineItemId}","href":"/api-reference/invoices/delete-an-additional-charge-of-an-invoice"},{"title":"Delete an attachment of an invoice","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /v1/invoices/{invoiceId}/attachments/{attachmentId}","href":"/api-reference/invoices/delete-an-attachment-of-an-invoice"},{"title":"Update an attachment of an invoice","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /v1/invoices/{invoiceId}/attachments/{attachmentId}","href":"/api-reference/invoices/update-an-attachment-of-an-invoice"},{"title":"Retry failed invoice syncs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/invoices/sync/retry","href":"/api-reference/invoices/retry-failed-invoice-syncs"}]},{"group":"Events","pages":[{"title":"List events","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/events/","href":"/api-reference/events/list-events"},{"title":"Ingest events","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/events/ingest","href":"/api-reference/events/ingest-events"},{"title":"Archive events","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /v1/events/archive","href":"/api-reference/events/archive-events"},{"title":"Overwrite event","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /v1/events/{idempotencyKey}","href":"/api-reference/events/overwrite-event"}]},{"group":"Licenses","pages":[{"title":"Report license balances","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/licenses/report-balances","href":"/api-reference/licenses/report-license-balances"},{"title":"List licenses","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/licenses/","href":"/api-reference/licenses/list-licenses"}]},{"group":"Contracts","pages":[{"title":"List contracts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/contracts/","href":"/api-reference/contracts/list-contracts"},{"title":"Create contract","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/contracts/","href":"/api-reference/contracts/create-contract"},{"title":"Update draft contract","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /v1/contracts/{id}/draft","href":"/api-reference/contracts/update-draft-contract"},{"title":"Update active contract","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /v1/contracts/{id}/active","href":"/api-reference/contracts/update-active-contract"},{"title":"Activate contract","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/contracts/{id}/activate","href":"/api-reference/contracts/activate-contract"},{"title":"Duplicate contract","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/contracts/{id}/duplicate","href":"/api-reference/contracts/duplicate-contract"},{"title":"List contract recurring discounts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/contracts/{id}/recurring-discounts","href":"/api-reference/contracts/list-contract-recurring-discounts"},{"title":"Create contract recurring discount","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/contracts/{id}/recurring-discounts","href":"/api-reference/contracts/create-contract-recurring-discount"},{"title":"Deactivate contract recurring discount","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/contracts/{id}/recurring-discounts/{contractRecurringDiscountId}/deactivate","href":"/api-reference/contracts/deactivate-contract-recurring-discount"},{"title":"Update contract recurring discount","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /v1/contracts/{id}/recurring-discounts/{contractRecurringDiscountId}","href":"/api-reference/contracts/update-contract-recurring-discount"},{"title":"Fetch contract","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/contracts/{id}","href":"/api-reference/contracts/fetch-contract"}]},{"group":"Plan Instances","pages":[{"title":"List plan instances","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/plan-instances/","href":"/api-reference/plan-instances/list-plan-instances"},{"title":"Create plan instance","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/plan-instances/","href":"/api-reference/plan-instances/create-plan-instance"},{"title":"Fetch plan instance","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/plan-instances/{id}","href":"/api-reference/plan-instances/fetch-plan-instance"},{"title":"Update plan instance","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /v1/plan-instances/{id}","href":"/api-reference/plan-instances/update-plan-instance"},{"title":"Delete plan instance","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /v1/plan-instances/{id}","href":"/api-reference/plan-instances/delete-plan-instance"},{"title":"Cancel plan instance","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/plan-instances/{id}/cancel","href":"/api-reference/plan-instances/cancel-plan-instance"},{"title":"Apply rate adjustment to plan instances","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/plan-instances/rate-adjust","href":"/api-reference/plan-instances/apply-rate-adjustment-to-plan-instances"},{"title":"Update plan instances to latest plan version","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/plan-instances/update-to-latest-plan-version","href":"/api-reference/plan-instances/update-plan-instances-to-latest-plan-version"},{"title":"List plan instance versions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/plan-instance-versions/","href":"/api-reference/plan-instances/list-plan-instance-versions"},{"title":"Fetch plan instance version","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/plan-instance-versions/{id}","href":"/api-reference/plan-instances/fetch-plan-instance-version"},{"title":"Restore plan instance version","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/plan-instance-versions/{id}/rollback","href":"/api-reference/plan-instances/restore-plan-instance-version"}]},{"group":"Plans","pages":[{"title":"List plans","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/plans/","href":"/api-reference/plans/list-plans"}]},{"group":"Legal Entities","pages":[{"title":"List legal entities","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/legal-entities/","href":"/api-reference/legal-entities/list-legal-entities"}]},{"group":"Watchtower","pages":[{"title":"Upload a contract PDF for ingestion","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/watchtower/contract-ingestion","href":"/api-reference/watchtower/upload-a-contract-pdf-for-ingestion"}]},{"group":"Payment Accounts","pages":[{"title":"Create payment account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/payment-accounts/","href":"/api-reference/payment-accounts/create-payment-account"},{"title":"Update payment account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /v1/payment-accounts/{id}","href":"/api-reference/payment-accounts/update-payment-account"},{"title":"Archive payment account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/payment-accounts/{id}/archive","href":"/api-reference/payment-accounts/archive-payment-account"},{"title":"Unarchive payment account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/payment-accounts/{id}/unarchive","href":"/api-reference/payment-accounts/unarchive-payment-account"},{"title":"List customer payment accounts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/payment-accounts/by-customer","href":"/api-reference/payment-accounts/list-customer-payment-accounts"}]},{"group":"Products","pages":[{"title":"List products","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/products/","href":"/api-reference/products/list-products"},{"title":"Create product","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/products/","href":"/api-reference/products/create-product"},{"title":"Update product","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /v1/products/{id}","href":"/api-reference/products/update-product"},{"title":"Delete product","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /v1/products/{id}","href":"/api-reference/products/delete-product"},{"title":"Archive product","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/products/{id}/archive","href":"/api-reference/products/archive-product"},{"title":"Unarchive product","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/products/{id}/unarchive","href":"/api-reference/products/unarchive-product"}]},{"group":"Items","pages":[{"title":"List items","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/items/","href":"/api-reference/items/list-items"},{"title":"Create item","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/items/","href":"/api-reference/items/create-item"},{"title":"Update item","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /v1/items/{id}","href":"/api-reference/items/update-item"},{"title":"Delete item","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /v1/items/{id}","href":"/api-reference/items/delete-item"},{"title":"Archive item","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/items/{id}/archive","href":"/api-reference/items/archive-item"},{"title":"Unarchive item","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/items/{id}/unarchive","href":"/api-reference/items/unarchive-item"}]},{"group":"Emails","pages":[{"title":"List emails","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/emails/","href":"/api-reference/emails/list-emails"},{"title":"Fetch email","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/emails/{id}","href":"/api-reference/emails/fetch-email"},{"title":"Download email attachment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/emails/{id}/attachments/{attachmentIndex}/download","href":"/api-reference/emails/download-email-attachment"},{"title":"Fetch a download link of an email attachment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/emails/{id}/attachments/{attachmentIndex}/download/link","href":"/api-reference/emails/fetch-a-download-link-of-an-email-attachment"}]},{"group":"Tenants","pages":[{"title":"Fetch tenant settings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/tenants/settings","href":"/api-reference/tenants/fetch-tenant-settings"}]},{"group":"Webhooks","pages":[{"title":"List webhook settings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/webhook-settings/","href":"/api-reference/webhooks/list-webhook-settings"},{"title":"Create webhook settings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/webhook-settings/","href":"/api-reference/webhooks/create-webhook-settings"},{"title":"Fetch webhook settings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/webhook-settings/{id}","href":"/api-reference/webhooks/fetch-webhook-settings"},{"title":"Delete webhook settings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /v1/webhook-settings/{id}","href":"/api-reference/webhooks/delete-webhook-settings"},{"title":"Update webhook settings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /v1/webhook-settings/{id}","href":"/api-reference/webhooks/update-webhook-settings"}]},{"group":"Api Keys","pages":[{"title":"List API keys","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/api-keys/","href":"/api-reference/api-keys/list-api-keys"},{"title":"Create API key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/api-keys/","href":"/api-reference/api-keys/create-api-key"},{"title":"Update API key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /v1/api-keys/{id}","href":"/api-reference/api-keys/update-api-key"}]},{"group":"Payments","pages":[{"title":"Fetch payment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/payments/{id}","href":"/api-reference/payments/fetch-payment"},{"title":"Download the boleto or Pix file of a payment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/payments/{id}/files/download","href":"/api-reference/payments/download-the-boleto-or-pix-file-of-a-payment"},{"title":"Fetch a download link of the boleto or Pix of a payment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/payments/{id}/files/download/link","href":"/api-reference/payments/fetch-a-download-link-of-the-boleto-or-pix-of-a-payment"}]},{"group":"Dunning","pages":[{"title":"List dunning schedules","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/dunning-schedules/","href":"/api-reference/dunning/list-dunning-schedules"},{"title":"Create dunning schedule","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/dunning-schedules/","href":"/api-reference/dunning/create-dunning-schedule"},{"title":"Fetch dunning settings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/dunning-schedules/settings","href":"/api-reference/dunning/fetch-dunning-settings"},{"title":"Update dunning settings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /v1/dunning-schedules/settings","href":"/api-reference/dunning/update-dunning-settings"},{"title":"Upload dunning e-mail logo","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/dunning-schedules/settings/logo","href":"/api-reference/dunning/upload-dunning-e-mail-logo"},{"title":"Fetch dunning schedule","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/dunning-schedules/{id}","href":"/api-reference/dunning/fetch-dunning-schedule"},{"title":"Update dunning schedule","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /v1/dunning-schedules/{id}","href":"/api-reference/dunning/update-dunning-schedule"},{"title":"Delete dunning schedule","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /v1/dunning-schedules/{id}","href":"/api-reference/dunning/delete-dunning-schedule"},{"title":"Archive dunning schedule","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/dunning-schedules/{id}/archive","href":"/api-reference/dunning/archive-dunning-schedule"},{"title":"Unarchive dunning schedule","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/dunning-schedules/{id}/unarchive","href":"/api-reference/dunning/unarchive-dunning-schedule"},{"title":"Duplicate dunning schedule","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/dunning-schedules/{id}/duplicate","href":"/api-reference/dunning/duplicate-dunning-schedule"}]},{"group":"Email Domains","pages":[{"title":"List email domains","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/email-domains/","href":"/api-reference/email-domains/list-email-domains"},{"title":"Register email domain","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/email-domains/","href":"/api-reference/email-domains/register-email-domain"},{"title":"Delete email domain","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /v1/email-domains/{id}","href":"/api-reference/email-domains/delete-email-domain"},{"title":"Verify email domain","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/email-domains/{id}/verify","href":"/api-reference/email-domains/verify-email-domain"}]}]}]}]},"basePath":"","title":"Archive resource - Aira","deploymentId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","buildId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-CWRF67qg.js","snippetPresets-BR8BoZAC.js","utils-D5WEoDBM.js","style-to-object-BY3JEAdk.js","utils-B79vXYXV.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-C59iNs-S.js","conditional-requirements-CFM0id0Q.js","cloneDeep-455jK_K_.js","_Uint8Array-BEecbuUl.js","isObject-FP1Yky1u.js","Page-UFatEFaf.js","api-description-markdown-Cny85OC3.js","DynamicMarkdown-Czhs88Hc.js","CodeSnippet-Bkkti1IB.js","use-playground-group-access-BLvLSz8w.js","SectionHeading-B08KBUKT.js","ApiExamples-CFRHL52q.js","usePlaygroundInputsStore-Caip2xMX.js","shallow-BS-qcxmX.js","isEqual-CEpbaqh9.js","CodeSnippets-B-R0FAqw.js","MethodPill-D8OvWg5y.js","getPastedJson-tB5m0_yh.js","Check2Icon-CeP__a4S.js","axios-CsQoIw0U.js","Markdown-LI7DSqeK.js","AssistantPageLink-bYxdsqKl.js","dist-DXTH2WLA.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}