Enclaive Multi Cloud Platform
HomeDocumentationTutorialsTry Cloud
  • Enclaive Multi Cloud Platform
  • Documentation
    • What is EMCP?
    • Why use EMCP?
    • Features
      • Virtual HSM
      • Vault
      • Nitride
      • Buckypaper
      • Dyneemes
      • Morphism
    • Supported Cloud Platforms
  • Tutorials
    • Buckypaper
      • Create a Buckypaper VM
      • Connect with SSH
      • Manage DNS
        • Cloudflare
      • Tag Buckypaper
      • Secure your VM with Firewall
      • Turn on/off Buckypapers
      • Destroy Buckypapers
    • Dyneemes
      • Create clusters
      • Connect to a cluster
      • Setup advanced monitoring
      • Upgrade without data loss
      • Add nodes and node pools
      • Drain and restart nodes
    • Data-in-use encrypting Database
      • Create a database cluster
      • Configure CNAME DNS record
      • Delete Applications
    • Applications
      • Create Nextcloud Hub
      • Configure CNAME DNS record
      • Delete Applications
      • After the installation
    • Billing
      • Add/Update payment method
      • Add/Change address
      • Add/Change VAT
    • Settings
      • Manage Team
        • Create a team
        • Delete a team
        • Invite team members
        • Remove team members
      • Bring your own Subscription
        • Azure
        • AWS
        • Google Cloud Platform
    • Account
      • Registration
      • Login
      • Delete account
  • Developers
    • API
      • Console
        • Auth
          • JWKS
        • Account
          • Need
        • Projects
          • Activity
        • Manage
          • Application
            • DNS
          • Database
          • Kubernetes
          • Virtual Machine
            • Security rule
          • Configurations
            • Location
            • Image
            • Price
            • Size
            • Provider
            • Cloud Provider
          • Attestation
        • vHSM
          • BYOS
          • User Storage
        • Settings
          • Team
          • Invite
        • Billing
          • Settings
          • Invoice
          • Cost
          • Promo - TODO
        • Support
          • Hubspot Files
          • Ticket
      • Admin
        • Auth
        • Accounts
          • Team
            • User
            • Application
            • Virtual machine
            • Database
            • Cluster
            • Resource
        • Quotas
          • Default quota
          • Provider quota
          • Team quota
        • Invoices
  • Resources
    • Blog
    • GitHub
    • Youtube
    • CCx101
Powered by GitBook
On this page
  • Get quotas
  • Update quotas

Was this helpful?

  1. Developers
  2. API
  3. Admin
  4. Quotas

Default quota

Manage quotas that apply to created teams.

Get quotas

GET {{BASE_URL}}/admin/api/default-quotas

Get all quotas that apply to teams by default.

Path Parameters

Name
Type
Description

id*

String

App ID

Query Parameters

Name
Type
Description

page*

String

1

limit*

String

5

Headers

Name
Type
Description

Api-Key*

String

Admin api key

{
    "docs": [
        {
            "_id": "6548a383e2442d14b6bf9721",
            "cloudProvider": {
                "_id": "6548a383e2442d14b6bf9681",
                "name": "Azure",
                "isDisabled": false
            },
            "apps": {
                "nextCloud": 0,
                "gitlab": 0
            },
            "databases": {
                "mongo": 0,
                "postgres": 0,
                "maria": 0,
                "redis": 0
            },
            "vm": 4,
            "k8s": {
                "masterNode": 2,
                "workerNode": 2
            },
            "createdAt": "2023-11-06T08:27:47.146Z",
            "updatedAt": "2023-11-06T08:27:47.146Z",
            "id": "6548a383e2442d14b6bf9721"
        },
        {
            "_id": "6548a383e2442d14b6bf9722",
            "cloudProvider": {
                "_id": "6548a383e2442d14b6bf9682",
                "name": "AWS",
                "isDisabled": false
            },
            "apps": {
                "nextCloud": 0,
                "gitlab": 0
            },
            "databases": {
                "mongo": 0,
                "postgres": 0,
                "maria": 0,
                "redis": 0
            },
            "vm": 4,
            "k8s": {
                "masterNode": 2,
                "workerNode": 2
            },
            "createdAt": "2023-11-06T08:27:47.146Z",
            "updatedAt": "2023-11-06T08:27:47.146Z",
            "id": "6548a383e2442d14b6bf9722"
        },
        {
            "_id": "6548a383e2442d14b6bf9723",
            "cloudProvider": {
                "_id": "6548a383e2442d14b6bf9683",
                "name": "GCP",
                "isDisabled": false
            },
            "apps": {
                "nextCloud": 0,
                "gitlab": 0
            },
            "databases": {
                "mongo": 0,
                "postgres": 0,
                "maria": 0,
                "redis": 0
            },
            "vm": 4,
            "k8s": {
                "masterNode": 2,
                "workerNode": 2
            },
            "createdAt": "2023-11-06T08:27:47.146Z",
            "updatedAt": "2023-11-06T08:27:47.146Z",
            "id": "6548a383e2442d14b6bf9723"
        },
        {
            "_id": "6548a383e2442d14b6bf9724",
            "cloudProvider": {
                "_id": "6548a383e2442d14b6bf9684",
                "name": "OVH",
                "isDisabled": false
            },
            "apps": {
                "nextCloud": 0,
                "gitlab": 0
            },
            "databases": {
                "mongo": 0,
                "postgres": 0,
                "maria": 0,
                "redis": 0
            },
            "vm": 4,
            "k8s": {
                "masterNode": 2,
                "workerNode": 2
            },
            "createdAt": "2023-11-06T08:27:47.146Z",
            "updatedAt": "2023-11-06T08:27:47.146Z",
            "id": "6548a383e2442d14b6bf9724"
        },
        {
            "_id": "6548a383e2442d14b6bf9725",
            "cloudProvider": {
                "_id": "6548a383e2442d14b6bf9685",
                "name": "Kraud.Cloud",
                "isDisabled": false
            },
            "apps": {
                "nextCloud": 4,
                "gitlab": 4
            },
            "databases": {
                "mongo": 4,
                "postgres": 4,
                "maria": 4,
                "redis": 4
            },
            "vm": 4,
            "k8s": {
                "masterNode": 2,
                "workerNode": 2
            },
            "createdAt": "2023-11-06T08:27:47.146Z",
            "updatedAt": "2023-11-06T08:27:47.146Z",
            "id": "6548a383e2442d14b6bf9725"
        }
    ],
    "totalDocs": 5,
    "limit": 5,
    "totalPages": 1,
    "page": 1,
    "pagingCounter": 1,
    "hasPrevPage": false,
    "hasNextPage": false,
    "prevPage": null,
    "nextPage": null
}

Update quotas

PUT {{BASE_URL}}/admin/api/default-quotas/{id}

Update default quotas by unique id.

Path Parameters

Name
Type
Description

id*

String

Quota ID

Headers

Name
Type
Description

Api-Key*

String

Admin api key

Request Body

Name
Type
Description

data*

Object

{
    "apps": {
        "nextCloud": 2,
        "gitlab": 2
    },
    "databases": {
        "mongo": 0,
        "postgres": 0,
        "maria": 0,
        "redis": 0
    },
    "k8s": {
        "masterNode": 2,
        "workerNode": 2
    },
    "_id": "6548a383e2442d14b6bf9721",
    "cloudProvider": {
        "_id": "6548a383e2442d14b6bf9681",
        "name": "Azure",
        "isDisabled": false
    },
    "vm": 4,
    "createdAt": "2023-11-06T08:27:47.146Z",
    "updatedAt": "2023-11-07T12:50:31.597Z"
}
Request payload
{
    "vm": 4,
    "k8s": {
        "masterNode": 2,
        "workerNode": 2
    },
    "apps": {
        "nextCloud": 2,
        "gitlab": 2
    },
    "databases": {
        "mongo": 0,
        "postgres": 0,
        "maria": 0,
        "redis": 0
    }
}

Last updated 1 year ago

Was this helpful?