Returns the current subscription plan of your personal account, with the number of technical support tickets opened in the current period. currentSubscriptionPlan is an empty object if the account has never had a subscription.
Empty object if the account has never had a subscription.
Show child attributes
⌘I
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"Liara OpenAPI Docs","colors":{"primary":"#009689","light":"#00BBA7","dark":"#009689"},"logo":{"light":"https://mintcdn.com/liara/2lAl_CkG1cEAkr-Y/logo.png?fit=max\u0026auto=format\u0026n=2lAl_CkG1cEAkr-Y\u0026q=85\u0026s=90f85cd2b2db4fc0e76ca4cf6fb468b5","dark":"https://mintcdn.com/liara/2lAl_CkG1cEAkr-Y/logo.png?fit=max\u0026auto=format\u0026n=2lAl_CkG1cEAkr-Y\u0026q=85\u0026s=90f85cd2b2db4fc0e76ca4cf6fb468b5"},"favicon":{"light":"https://mintcdn.com/liara/2lAl_CkG1cEAkr-Y/logo.png?fit=max\u0026auto=format\u0026n=2lAl_CkG1cEAkr-Y\u0026q=85\u0026s=90f85cd2b2db4fc0e76ca4cf6fb468b5","dark":"https://mintcdn.com/liara/2lAl_CkG1cEAkr-Y/logo.png?fit=max\u0026auto=format\u0026n=2lAl_CkG1cEAkr-Y\u0026q=85\u0026s=90f85cd2b2db4fc0e76ca4cf6fb468b5"},"navbar":{"links":[{"href":"mailto:info@liara.ir","label":"Support"}],"primary":{"type":"button","label":"Console","href":"https://console.liara.ir"}},"footer":{"socials":{"website":"https://liara.ir","github":"https://github.com/liara-cloud","linkedin":"https://linkedin.com/company/liara-cloud","x":"https://x.com/liara_cloud"}},"icons":{"library":"fontawesome"},"contextual":{"options":["copy","chatgpt","perplexity"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Documentation","icon":"book-open-cover","href":"https://docs.liara.ir"},{"anchor":"Blog","icon":"newspaper","href":"https://liara.ir/blog"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"liara","hasAudioNarration":false,"actualSubdomain":"liara","customDomains":["developers.liara.ir"],"gitSource":{"type":"github","owner":"liara-cloud","repo":"openapi","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae871d5a8708698b47b2a03","collectionId":"0e90692c-d9b6-4c78-9098-40e11304546a","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae871d5a8708698b47b2a03"},"entitlements":{},"buildId":"6ae871d5a8708698b47b2a03","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"default","tag":"API Endpoints","count":135},{"language":"default","tag":"Platform Core","count":85},{"language":"default","tag":"PaaS","count":78},{"language":"default","tag":"Mail","count":41},{"language":"default","tag":"Apps \u0026 Deployments","count":38},{"language":"default","tag":"AI","count":33},{"language":"default","tag":"Object Storage","count":27},{"language":"default","tag":"DBaaS","count":26},{"language":"default","tag":"Authentication \u0026 Account","count":26},{"language":"default","tag":"Domains \u0026 Disks","count":23}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"platform-auth/account/get-your-subscription","slug":"/platform-auth/account/get-your-subscription","pageMetadata":{"title":"Get your subscription","description":"Returns the current subscription plan of your personal account, with the number of technical support tickets opened in the current period. `currentSubscriptionPlan` is an empty object if the account has never had a subscription.","deprecated":null,"version":null,"openapi":"/spec/platform-auth.yaml get /v1/me/subscription","href":"/platform-auth/account/get-your-subscription","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {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(_components.p, {\n children: [\"Returns the current subscription plan of your personal account, with the number of technical support tickets opened in the current period. \", _jsx(_components.code, {\n children: \"currentSubscriptionPlan\"\n }), \" is an empty object if the account has never had a subscription.\"]\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":"Get your subscription","description":"Returns the current subscription plan of your personal account, with the number of technical support tickets opened in the current period. `currentSubscriptionPlan` is an empty object if the account has never had a subscription.","deprecated":null,"version":null,"openapi":"/spec/platform-auth.yaml get /v1/me/subscription","href":"/platform-auth/account/get-your-subscription","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Account"],"operationId":"getMySubscription","summary":"Get your subscription","description":"Returns the current subscription plan of your personal account, with the number of technical support tickets opened in the current period. `currentSubscriptionPlan` is an empty object if the account has never had a subscription.","responses":{"200":"3f9100bd-d472-4a24-82e6-be0f4e362642","401":"bbe78e29-b819-4648-b727-f7ab3bfe0424"},"method":"get","type":"path","servers":["dcacb09e-2202-4ed2-b8fd-9881b34b9e4c"],"security":["b7054541-6ec2-4004-9ad1-708c05ddc32e"],"path":"/v1/me/subscription","baseUrlOptions":["https://api.liara.ir"],"title":"Get your subscription","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"responses":{"3f9100bd-d472-4a24-82e6-be0f4e362642":{"description":"Your subscription.","content":{"application/json":{"schema":{"type":"object","properties":{"currentSubscriptionPlan":{"type":"object","description":"Empty object if the account has never had a subscription.","properties":{"_id":{"type":"string","uniqueKey":"currentSubscriptionPlan._id","typeLabel":"string"},"type":{"type":"string","enum":["subscription"],"uniqueKey":"currentSubscriptionPlan.type","typeLabel":"enum\u003cstring>"},"userID":{"type":"string","uniqueKey":"currentSubscriptionPlan.userID","typeLabel":"string"},"subscriptionPlanID":{"type":"string","enum":["free","standard","enterprise"],"uniqueKey":"currentSubscriptionPlan.subscriptionPlanID","typeLabel":"enum\u003cstring>"},"subscriptionPlanExpiration":{"type":"string","format":"date-time","uniqueKey":"currentSubscriptionPlan.subscriptionPlanExpiration","typeLabel":"string\u003cdate-time>"},"subscriptionDurationType":{"type":"string","enum":["monthly","yearly"],"uniqueKey":"currentSubscriptionPlan.subscriptionDurationType","typeLabel":"enum\u003cstring>"},"maxTechnicalTicketsPerMonth":{"oneOf":[{"type":"integer","description":"Monthly technical ticket allowance, or `infinite`.","uniqueKey":"currentSubscriptionPlan.maxTechnicalTicketsPerMonth.oneOf.0","typeLabel":"integer"},{"type":"string","description":"Monthly technical ticket allowance, or `infinite`.","enum":["infinite"],"uniqueKey":"currentSubscriptionPlan.maxTechnicalTicketsPerMonth.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"currentSubscriptionPlan.maxTechnicalTicketsPerMonth","typeLabel":"integer | enum\u003cstring>"},"technicalTicketsCount":{"type":"integer","description":"Technical support tickets opened in the current period.","uniqueKey":"currentSubscriptionPlan.technicalTicketsCount","typeLabel":"integer"},"createdAt":{"type":"string","format":"date-time","uniqueKey":"currentSubscriptionPlan.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","uniqueKey":"currentSubscriptionPlan.updatedAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"currentSubscriptionPlan","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"currentSubscriptionPlan":{"_id":"000000000000000000000003","type":"subscription","userID":"000000000000000000000001","subscriptionPlanID":"standard","subscriptionPlanExpiration":"2026-02-01T08:00:00.000Z","maxTechnicalTicketsPerMonth":"infinite","subscriptionDurationType":"monthly","technicalTicketsCount":2,"createdAt":"2026-01-01T08:00:00.000Z","updatedAt":"2026-01-01T08:00:00.000Z"}},"examples":{"Example":{"title":"Example","value":{"currentSubscriptionPlan":{"_id":"000000000000000000000003","type":"subscription","userID":"000000000000000000000001","subscriptionPlanID":"standard","subscriptionPlanExpiration":"2026-02-01T08:00:00.000Z","maxTechnicalTicketsPerMonth":"infinite","subscriptionDurationType":"monthly","technicalTicketsCount":2,"createdAt":"2026-01-01T08:00:00.000Z","updatedAt":"2026-01-01T08:00:00.000Z"}}}},"exampleType":"examples"}},"exampleType":"examples"},"bbe78e29-b819-4648-b727-f7ab3bfe0424":{"description":"The API token is missing, invalid or expired.","content":{"application/json":{"schema":{"type":"object","description":"Error body returned when the API token is rejected.","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"Unauthorized."},"examples":{"Example":{"title":"Example","value":{"error":"Unauthorized."}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"b7054541-6ec2-4004-9ad1-708c05ddc32e":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Send your API token as `Authorization: Bearer \u003capi-token>`. Tokens expire (30 days by default) and stop working when you change or reset your password.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"dcacb09e-2202-4ed2-b8fd-9881b34b9e4c":{"url":"https://api.liara.ir"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Send your API token as `Authorization: Bearer \u003capi-token>`. Tokens expire (30 days by default) and stop working when you change or reset your password.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Send your API token as `Authorization: Bearer \u003capi-token>`. Tokens expire (30 days by default) and stop working when you change or reset your password.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"spec/platform-auth.yaml"},"subdomain":"liara","siteName":"Liara OpenAPI Docs","title":"Get your subscription - Liara OpenAPI Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-02T11:20:04.442Z","originalFileLocation":"platform-auth/account/get-your-subscription.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=\"Returns the current subscription plan of your personal account, with the number of technical support tickets opened in the current period. currentSubscriptionPlan is an empty object if the account has never had a subscription.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Liara OpenAPI Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/liara/c4FsEB7C_M7o5Gm9/_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/liara/c4FsEB7C_M7o5Gm9/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/liara/c4FsEB7C_M7o5Gm9/_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/liara/c4FsEB7C_M7o5Gm9/_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/liara/c4FsEB7C_M7o5Gm9/_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/liara/c4FsEB7C_M7o5Gm9/_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/liara/c4FsEB7C_M7o5Gm9/_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/liara/c4FsEB7C_M7o5Gm9/_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/liara/c4FsEB7C_M7o5Gm9/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get your subscription - Liara OpenAPI Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Returns the current subscription plan of your personal account, with the number of technical support tickets opened in the current period. currentSubscriptionPlan is an empty object if the account has never had a subscription.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Liara OpenAPI Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developers.liara.ir/platform-auth/account/get-your-subscription\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://liara.mintlify.app/_mintlify/api/og/v2?division=Account\u0026amp;title=Get+your+subscription\u0026amp;description=Returns+the+current+subscription+plan+of+your+personal+account%2C+with+the+number+of+technical+support+tickets+opened+in+the+current+period.+%60currentSubscriptionP\u0026amp;theme=caf04de85467f5bae16b4b9e\u0026amp;signature=00e4e6c46407a768457f8edf764a5242fc6cd791e5ee34224706436881a209f3\">\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=\"Get your subscription - Liara OpenAPI Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Returns the current subscription plan of your personal account, with the number of technical support tickets opened in the current period. currentSubscriptionPlan is an empty object if the account has never had a subscription.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://liara.mintlify.app/_mintlify/api/og/v2?division=Account\u0026amp;title=Get+your+subscription\u0026amp;description=Returns+the+current+subscription+plan+of+your+personal+account%2C+with+the+number+of+technical+support+tickets+opened+in+the+current+period.+%60currentSubscriptionP\u0026amp;theme=caf04de85467f5bae16b4b9e\u0026amp;signature=00e4e6c46407a768457f8edf764a5242fc6cd791e5ee34224706436881a209f3\">\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/liara/c4FsEB7C_M7o5Gm9/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Liara OpenAPI Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#009689\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developers.liara.ir/platform-auth/account/get-your-subscription\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/platform-auth/account/get-your-subscription.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developers.liara.ir/#organization\",\"name\":\"Liara OpenAPI Docs\",\"url\":\"https://developers.liara.ir\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/liara/2lAl_CkG1cEAkr-Y/logo.png?fit=max\u0026auto=format\u0026n=2lAl_CkG1cEAkr-Y\u0026q=85\u0026s=90f85cd2b2db4fc0e76ca4cf6fb468b5\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developers.liara.ir#website\",\"name\":\"Liara OpenAPI Docs\",\"url\":\"https://developers.liara.ir\",\"publisher\":{\"@id\":\"https://developers.liara.ir/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developers.liara.ir/platform-auth/account/get-your-subscription#webpage\",\"url\":\"https://developers.liara.ir/platform-auth/account/get-your-subscription\",\"name\":\"Get your subscription\",\"description\":\"Returns the current subscription plan of your personal account, with the number of technical support tickets opened in the current period. currentSubscriptionPlan is an empty object if the account has never had a subscription.\",\"dateModified\":\"2026-11-02T11:20:04.442Z\",\"isPartOf\":{\"@id\":\"https://developers.liara.ir#website\"},\"breadcrumb\":{\"@id\":\"https://developers.liara.ir/platform-auth/account/get-your-subscription#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developers.liara.ir/platform-auth/account/get-your-subscription#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Authentication \u0026 Account\",\"item\":\"https://developers.liara.ir/platform-auth/login/log-in-with-a-password\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Account\",\"item\":\"https://developers.liara.ir/platform-auth/account/get-the-current-user\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Get your subscription\",\"item\":\"https://developers.liara.ir/platform-auth/account/get-your-subscription\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developers.liara.ir/platform-auth/account/get-your-subscription#apireference\",\"headline\":\"Get your subscription\",\"name\":\"Get your subscription\",\"description\":\"Returns the current subscription plan of your personal account, with the number of technical support tickets opened in the current period. currentSubscriptionPlan is an empty object if the account has never had a subscription.\",\"url\":\"https://developers.liara.ir/platform-auth/account/get-your-subscription\",\"mainEntityOfPage\":{\"@id\":\"https://developers.liara.ir/platform-auth/account/get-your-subscription#webpage\"},\"dateModified\":\"2026-11-02T11:20:04.442Z\",\"publisher\":{\"@id\":\"https://developers.liara.ir/#organization\"},\"isPartOf\":{\"@id\":\"https://developers.liara.ir#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Liara OpenAPI Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Liara OpenAPI Docs","nav":{"global":{"anchors":[{"anchor":"Documentation","icon":"book-open-cover","href":"https://docs.liara.ir"},{"anchor":"Blog","icon":"newspaper","href":"https://liara.ir/blog"}]},"products":[{"product":"Platform Core","icon":"layer-group","groups":[{"group":"Introduction","icon":"rocket","pages":[{"title":"Platform Core API","href":"/pages/platform-core"}]},{"group":"Authentication \u0026 Account","icon":"id-card","pages":[{"group":"Login","pages":[{"title":"Log in with a password","deprecated":null,"version":null,"openapi":"/spec/platform-auth.yaml post /v1/login","href":"/platform-auth/login/log-in-with-a-password"},{"title":"Send a one-time login code","deprecated":null,"version":null,"openapi":"/spec/platform-auth.yaml post /v1/login/send-otp-token","href":"/platform-auth/login/send-a-one-time-login-code"},{"title":"Log in with a one-time code","deprecated":null,"version":null,"openapi":"/spec/platform-auth.yaml post /v1/login/verify-otp-token","href":"/platform-auth/login/log-in-with-a-one-time-code"}]},{"group":"Registration","pages":[{"title":"Create an account","deprecated":null,"version":null,"openapi":"/spec/platform-auth.yaml post /v1/register","href":"/platform-auth/registration/create-an-account"}]},{"group":"Password","pages":[{"title":"Request a password reset code","deprecated":null,"version":null,"openapi":"/spec/platform-auth.yaml post /v1/password/forgot","href":"/platform-auth/password/request-a-password-reset-code"},{"title":"Reset a forgotten password","deprecated":null,"version":null,"openapi":"/spec/platform-auth.yaml post /v1/password/reset","href":"/platform-auth/password/reset-a-forgotten-password"},{"title":"Change your password","deprecated":null,"version":null,"openapi":"/spec/platform-auth.yaml post /v1/password/change","href":"/platform-auth/password/change-your-password"},{"title":"Send a password change code","deprecated":null,"version":null,"openapi":"/spec/platform-auth.yaml post /v1/password/change/send-otp-token","href":"/platform-auth/password/send-a-password-change-code"},{"title":"Change your password with a code","deprecated":null,"version":null,"openapi":"/spec/platform-auth.yaml post /v1/password/change/verify-otp-token","href":"/platform-auth/password/change-your-password-with-a-code"}]},{"group":"API Tokens","pages":[{"title":"Create an API token","deprecated":null,"version":null,"openapi":"/spec/platform-auth.yaml post /v1/api-token","href":"/platform-auth/api-tokens/create-an-api-token"}]},{"group":"Account","pages":[{"title":"Get the current user","description":"Returns your profile, verification status and billing contact details, plus the database versions you can choose from. With `teamID`, it also returns the team's profile and your role and permissions in that team.","deprecated":null,"version":null,"openapi":"/spec/platform-auth.yaml get /v1/me","href":"/platform-auth/account/get-the-current-user"},{"title":"Get your subscription","deprecated":null,"version":null,"openapi":"/spec/platform-auth.yaml get /v1/me/subscription","href":"/platform-auth/account/get-your-subscription"},{"title":"List your git integrations","description":"Lists the git provider accounts (currently GitHub) connected to your personal account, and the app installations on them that give access to repositories.","deprecated":null,"version":null,"openapi":"/spec/platform-auth.yaml get /v1/me/git-integrations","href":"/platform-auth/account/list-your-git-integrations"},{"title":"Set your full name","deprecated":null,"version":null,"openapi":"/spec/platform-auth.yaml post /v1/save-fullname","href":"/platform-auth/account/set-your-full-name"},{"title":"Save billing contact details","deprecated":null,"version":null,"openapi":"/spec/platform-auth.yaml post /v1/contact-info","href":"/platform-auth/account/save-billing-contact-details"},{"title":"Turn invoice issuing on or off","deprecated":null,"version":null,"openapi":"/spec/platform-auth.yaml post /v1/invoice-issuing-entity","href":"/platform-auth/account/turn-invoice-issuing-on-or-off"}]},{"group":"Two-Factor Authentication","pages":[{"title":"Get two-factor authentication status","deprecated":null,"version":null,"openapi":"/spec/platform-auth.yaml get /v1/me/two-fa","href":"/platform-auth/two-factor-authentication/get-two-factor-authentication-status"},{"title":"Start two-factor authentication setup","deprecated":null,"version":null,"openapi":"/spec/platform-auth.yaml post /v1/two-fa/config","href":"/platform-auth/two-factor-authentication/start-two-factor-authentication-setup"},{"title":"Enable two-factor authentication","deprecated":null,"version":null,"openapi":"/spec/platform-auth.yaml post /v1/two-fa","href":"/platform-auth/two-factor-authentication/enable-two-factor-authentication"},{"title":"Disable two-factor authentication","deprecated":null,"version":null,"openapi":"/spec/platform-auth.yaml delete /v1/two-fa","href":"/platform-auth/two-factor-authentication/disable-two-factor-authentication"},{"title":"Replace recovery codes","deprecated":null,"version":null,"openapi":"/spec/platform-auth.yaml post /v1/two-fa/generate-new-recovery-codes","href":"/platform-auth/two-factor-authentication/replace-recovery-codes"},{"title":"Verify a second factor","deprecated":null,"version":null,"openapi":"/spec/platform-auth.yaml post /v1/two-fa/verify","href":"/platform-auth/two-factor-authentication/verify-a-second-factor"}]},{"group":"Verification","pages":[{"title":"Send an email verification code","deprecated":null,"version":null,"openapi":"/spec/platform-auth.yaml post /v1/send-email-token","href":"/platform-auth/verification/send-an-email-verification-code"},{"title":"Verify an email address","deprecated":null,"version":null,"openapi":"/spec/platform-auth.yaml post /v1/verify-email","href":"/platform-auth/verification/verify-an-email-address"},{"title":"Send a phone verification code","deprecated":null,"version":null,"openapi":"/spec/platform-auth.yaml post /v1/send-phone-token","href":"/platform-auth/verification/send-a-phone-verification-code"},{"title":"Confirm a phone verification code","deprecated":null,"version":null,"openapi":"/spec/platform-auth.yaml post /v1/save-info","href":"/platform-auth/verification/confirm-a-phone-verification-code"}]}]},{"group":"Teams \u0026 Access","icon":"users","pages":[{"group":"Teams","pages":[{"title":"List your teams","deprecated":null,"version":null,"openapi":"/spec/platform-teams.yaml get /v2/teams","href":"/platform-teams/teams/list-your-teams"},{"title":"Create a team","deprecated":null,"version":null,"openapi":"/spec/platform-teams.yaml post /v2/teams","href":"/platform-teams/teams/create-a-team"},{"title":"Delete a team","deprecated":null,"version":null,"openapi":"/spec/platform-teams.yaml delete /v2/teams/{teamID}","href":"/platform-teams/teams/delete-a-team"},{"title":"Rename a team","deprecated":null,"version":null,"openapi":"/spec/platform-teams.yaml post /v2/teams/{teamID}/change-team-name/{newTeamName}","href":"/platform-teams/teams/rename-a-team"},{"title":"Transfer team ownership","deprecated":null,"version":null,"openapi":"/spec/platform-teams.yaml post /v2/teams/{teamID}/{memberID}/change-team-creator","href":"/platform-teams/teams/transfer-team-ownership"}]},{"group":"Invitations","pages":[{"title":"List pending invitations","deprecated":null,"version":null,"openapi":"/spec/platform-teams.yaml get /v2/teams/{teamID}/invitations","href":"/platform-teams/invitations/list-pending-invitations"},{"title":"Invite someone to a team","deprecated":null,"version":null,"openapi":"/spec/platform-teams.yaml post /v2/teams/{teamID}/invitations","href":"/platform-teams/invitations/invite-someone-to-a-team"},{"title":"Cancel an invitation","deprecated":null,"version":null,"openapi":"/spec/platform-teams.yaml delete /v2/teams/{teamID}/invitations/{invitationID}","href":"/platform-teams/invitations/cancel-an-invitation"},{"title":"Preview an invitation","deprecated":null,"version":null,"openapi":"/spec/platform-teams.yaml get /v2/teams/invitations/get-team-info","href":"/platform-teams/invitations/preview-an-invitation"},{"title":"Accept an invitation","deprecated":null,"version":null,"openapi":"/spec/platform-teams.yaml post /v2/teams/invitations/join","href":"/platform-teams/invitations/accept-an-invitation"}]},{"group":"Members","pages":[{"title":"List team members","deprecated":null,"version":null,"openapi":"/spec/platform-teams.yaml get /v2/teams/{teamID}/members","href":"/platform-teams/members/list-team-members"},{"title":"Remove a member","deprecated":null,"version":null,"openapi":"/spec/platform-teams.yaml delete /v2/teams/{teamID}/{memberID}","href":"/platform-teams/members/remove-a-member"},{"title":"Leave a team","deprecated":null,"version":null,"openapi":"/spec/platform-teams.yaml delete /v2/teams/{teamID}/leave","href":"/platform-teams/members/leave-a-team"},{"title":"Change a member's role","deprecated":null,"version":null,"openapi":"/spec/platform-teams.yaml post /v2/teams/{teamID}/change-member-role/{memberID}/{roleID}","href":"/platform-teams/members/change-a-members-role"}]},{"group":"Roles","pages":[{"title":"List roles","deprecated":null,"version":null,"openapi":"/spec/platform-teams.yaml get /v2/teams/{teamID}/roles","href":"/platform-teams/roles/list-roles"},{"title":"Create a custom role","deprecated":null,"version":null,"openapi":"/spec/platform-teams.yaml post /v2/teams/{teamID}/custom-role","href":"/platform-teams/roles/create-a-custom-role"},{"title":"Delete a custom role","deprecated":null,"version":null,"openapi":"/spec/platform-teams.yaml delete /v2/teams/{teamID}/custom-role/{roleID}","href":"/platform-teams/roles/delete-a-custom-role"},{"title":"List all permissions","deprecated":null,"version":null,"openapi":"/spec/platform-teams.yaml get /v2/teams/permissions","href":"/platform-teams/roles/list-all-permissions"}]},{"group":"Resource Permissions","pages":[{"title":"List resource permissions","deprecated":null,"version":null,"openapi":"/spec/platform-teams.yaml get /v2/teams/{teamID}/assigned-permissions","href":"/platform-teams/resource-permissions/list-resource-permissions"},{"title":"Give a member access to a resource","deprecated":null,"version":null,"openapi":"/spec/platform-teams.yaml post /v2/teams/{teamID}/{memberID}/assign-permission","href":"/platform-teams/resource-permissions/give-a-member-access-to-a-resource"},{"title":"Revoke a resource permission","deprecated":null,"version":null,"openapi":"/spec/platform-teams.yaml delete /v2/teams/{teamID}/{permissionID}/revoke-permission","href":"/platform-teams/resource-permissions/revoke-a-resource-permission"}]}]},{"group":"Billing \u0026 Subscription","icon":"receipt","pages":[{"group":"Balance \u0026 Usage","pages":[{"title":"Get balance and billing details","deprecated":null,"version":null,"openapi":"/spec/platform-billing.yaml get /v1/billing","href":"/platform-billing/balance-\u0026-usage/get-balance-and-billing-details"},{"title":"Get current cost","deprecated":null,"version":null,"openapi":"/spec/platform-billing.yaml get /v1/usage","href":"/platform-billing/balance-\u0026-usage/get-current-cost"},{"title":"Get cost by service","deprecated":null,"version":null,"openapi":"/spec/platform-billing.yaml get /v1/usage-report","href":"/platform-billing/balance-\u0026-usage/get-cost-by-service"},{"title":"Count your services","deprecated":null,"version":null,"openapi":"/spec/platform-billing.yaml get /v1/service-count","href":"/platform-billing/balance-\u0026-usage/count-your-services"}]},{"group":"Payments","pages":[{"title":"List payments","deprecated":null,"version":null,"openapi":"/spec/platform-billing.yaml get /v1/payments","href":"/platform-billing/payments/list-payments"},{"title":"Add credit","deprecated":null,"version":null,"openapi":"/spec/platform-billing.yaml post /v1/payments/pay","href":"/platform-billing/payments/add-credit"},{"title":"Get the minimum payment for frozen mail servers","deprecated":null,"version":null,"openapi":"/spec/platform-billing.yaml get /v1/payments/minimum-credit","href":"/platform-billing/payments/get-the-minimum-payment-for-frozen-mail-servers"}]},{"group":"Invoices \u0026 Receipts","pages":[{"title":"List monthly invoices","deprecated":null,"version":null,"openapi":"/spec/platform-billing.yaml get /v1/billing-invoices","href":"/platform-billing/invoices-\u0026-receipts/list-monthly-invoices"},{"title":"Get a monthly invoice","deprecated":null,"version":null,"openapi":"/spec/platform-billing.yaml get /v1/billing-invoices/{billingInvoiceID}","href":"/platform-billing/invoices-\u0026-receipts/get-a-monthly-invoice"},{"title":"Get a payment receipt","deprecated":null,"version":null,"openapi":"/spec/platform-billing.yaml get /v1/payments/{paymentID}/billing-receipt","href":"/platform-billing/invoices-\u0026-receipts/get-a-payment-receipt"},{"title":"Get a payment invoice","deprecated":null,"version":null,"openapi":"/spec/platform-billing.yaml get /v1/payments/{paymentID}/invoice","href":"/platform-billing/invoices-\u0026-receipts/get-a-payment-invoice"}]},{"group":"Subscription","pages":[{"title":"List subscription history","deprecated":null,"version":null,"openapi":"/spec/platform-billing.yaml get /v1/subscription","href":"/platform-billing/subscription/list-subscription-history"},{"title":"Subscribe or change plan","deprecated":null,"version":null,"openapi":"/spec/platform-billing.yaml post /v1/subscription","href":"/platform-billing/subscription/subscribe-or-change-plan"},{"title":"Cancel a scheduled plan change","deprecated":null,"version":null,"openapi":"/spec/platform-billing.yaml delete /v1/subscription/reservation","href":"/platform-billing/subscription/cancel-a-scheduled-plan-change"}]},{"group":"Discount Codes","pages":[{"title":"List your discount codes","deprecated":null,"version":null,"openapi":"/spec/platform-billing.yaml get /v1/discount-codes","href":"/platform-billing/discount-codes/list-your-discount-codes"},{"title":"Check a discount code","deprecated":null,"version":null,"openapi":"/spec/platform-billing.yaml get /v1/discount-codes/show","href":"/platform-billing/discount-codes/check-a-discount-code"},{"title":"Apply a discount code","deprecated":null,"version":null,"openapi":"/spec/platform-billing.yaml post /v1/discount-codes/apply","href":"/platform-billing/discount-codes/apply-a-discount-code"}]}]},{"group":"Support \u0026 Notifications","icon":"bell","pages":[{"group":"Tickets","pages":[{"title":"List tickets","deprecated":null,"version":null,"openapi":"/spec/platform-support.yaml get /v1/tickets","href":"/platform-support/tickets/list-tickets"},{"title":"Open a ticket","deprecated":null,"version":null,"openapi":"/spec/platform-support.yaml post /v1/tickets","href":"/platform-support/tickets/open-a-ticket"},{"title":"Get a ticket","deprecated":null,"version":null,"openapi":"/spec/platform-support.yaml get /v1/tickets/{ticketID}","href":"/platform-support/tickets/get-a-ticket"},{"title":"Reply to a ticket","deprecated":null,"version":null,"openapi":"/spec/platform-support.yaml post /v1/comments/{ticketID}","href":"/platform-support/tickets/reply-to-a-ticket"},{"title":"Close a ticket","deprecated":null,"version":null,"openapi":"/spec/platform-support.yaml post /v1/tickets/{ticketID}/close","href":"/platform-support/tickets/close-a-ticket"},{"title":"Rate a ticket","deprecated":null,"version":null,"openapi":"/spec/platform-support.yaml post /v1/tickets/{ticketID}/feedback","href":"/platform-support/tickets/rate-a-ticket"},{"title":"List support departments","deprecated":null,"version":null,"openapi":"/spec/platform-support.yaml get /v1/departments","href":"/platform-support/tickets/list-support-departments"}]},{"group":"Attachments","pages":[{"title":"Upload attachments","deprecated":null,"version":null,"openapi":"/spec/platform-support.yaml post /v1/attachments","href":"/platform-support/attachments/upload-attachments"},{"title":"Get an attachment download link","deprecated":null,"version":null,"openapi":"/spec/platform-support.yaml post /v1/attachments/download","href":"/platform-support/attachments/get-an-attachment-download-link"}]},{"group":"Notifications","pages":[{"title":"List notifications","deprecated":null,"version":null,"openapi":"/spec/platform-support.yaml get /v1/notifications","href":"/platform-support/notifications/list-notifications"},{"title":"Mark all notifications as read","deprecated":null,"version":null,"openapi":"/spec/platform-support.yaml post /v1/notifications/read-all","href":"/platform-support/notifications/mark-all-notifications-as-read"},{"title":"Mark a notification as read","deprecated":null,"version":null,"openapi":"/spec/platform-support.yaml post /v1/notifications/{notificationID}/read","href":"/platform-support/notifications/mark-a-notification-as-read"},{"title":"Set the low-credit alert threshold","deprecated":null,"version":null,"openapi":"/spec/platform-support.yaml post /v1/notifications/set-min-credit","href":"/platform-support/notifications/set-the-low-credit-alert-threshold"}]},{"group":"Notification Channels","pages":[{"title":"List notification channels","deprecated":null,"version":null,"openapi":"/spec/platform-support.yaml get /v1/channels","href":"/platform-support/notification-channels/list-notification-channels"},{"title":"Add a notification channel","deprecated":null,"version":null,"openapi":"/spec/platform-support.yaml post /v1/channels","href":"/platform-support/notification-channels/add-a-notification-channel"},{"title":"Get a notification channel","deprecated":null,"version":null,"openapi":"/spec/platform-support.yaml get /v1/channels/{channelID}","href":"/platform-support/notification-channels/get-a-notification-channel"},{"title":"Change a channel's notifications","deprecated":null,"version":null,"openapi":"/spec/platform-support.yaml put /v1/channels/{channelID}","href":"/platform-support/notification-channels/change-a-channels-notifications"},{"title":"Delete a notification channel","deprecated":null,"version":null,"openapi":"/spec/platform-support.yaml delete /v1/channels/{channelID}","href":"/platform-support/notification-channels/delete-a-notification-channel"},{"title":"Send an SMS channel verification code","deprecated":null,"version":null,"openapi":"/spec/platform-support.yaml post /v1/channels/send-phone-token","href":"/platform-support/notification-channels/send-an-sms-channel-verification-code"},{"title":"Send an email channel verification code","deprecated":null,"version":null,"openapi":"/spec/platform-support.yaml post /v1/channels/send-email-token","href":"/platform-support/notification-channels/send-an-email-channel-verification-code"}]}]}]},{"product":"PaaS","icon":"cloud","pages":[{"title":"PaaS","href":"/pages/paas"}]},{"product":"DBaaS","icon":"database","pages":[{"title":"DBaaS","href":"/pages/dbaas"}]},{"product":"Object Storage","icon":"bucket","pages":[{"title":"Object Storage","href":"/pages/object-storage"}]},{"product":"DNS","icon":"globe","pages":[{"title":"DNS","href":"/pages/dns"}]},{"product":"Mail","icon":"envelope","pages":[{"title":"Mail","href":"/pages/mail"}]},{"product":"File Browser","icon":"folder","pages":[{"title":"File Browser","href":"/pages/file-browser"}]},{"product":"IaaS","icon":"server","pages":[{"title":"IaaS","href":"/pages/iaas"}]},{"product":"AI","icon":"brain","pages":[{"title":"AI","href":"/pages/ai"}]},{"product":"Billing","icon":"credit-card","pages":[{"title":"Billing","href":"/billing/billing/get-current-user-billing-information"}]},{"product":"Account","icon":"user","pages":[{"title":"Account","href":"/account/user/get-current-user-and-console-information"}]}]},"basePath":"","title":"Get your subscription - Liara OpenAPI Docs","buildId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","deploymentId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DCDCdBVX.js","utils-ME8dDnLe.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-0e84ACsd.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-wgRBj-ia.js","snippetPresets-C11Sgb-o.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-C0lapOpP.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-ZeRQV8fF.js","shallow-BupWh095.js","getApiPlaygroundDisplay-BnYQO2Ss.js","CodeSnippet-RKKOc8c_.js","CodeSnippets-Drf_m8wS.js","Page-Bevw23-4.js","getPastedJson-u6QiPzNZ.js","icon-Bb-CBSxO.js","MethodPill-F7l5AI7V.js","DuplicateIcon-IiAXkdSg.js","createIcon-FliI8EBc.js","DynamicMarkdown-B62XqCSI.js","SectionHeading-Dj31pT03.js","axios-vUo_bRtp.js","Markdown-BOgQCTwD.js","clsx-BIWXJmsZ.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DKZWslLH.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-UDqbR6xh.js"]}