EnterpriseLimitsByProviderResource


Create provider limits


Create one or more provider limits

POST https://example.com/api/admin/enterprises/{enterprise}/providerlimits

Roles : [ROLE_USERS_MANAGE_ENTERPRISE]

Content-Type : providerlimit Accept : providerlimit

Error Codes

  • PROVIDER-LIMIT-34 - To create the provider limit, the enterprise must be allowed to access at least one public cloud region of this provider
  • PROVIDER-LIMITS-36 - The provider limits already exist
  • PROVIDER-LIMITS-37 - An endpoint is only allowed for a dynamic region

Example

List provider limits of an enterprise


GET https://example.com/api/admin/enterprises/{enterprise}/providerlimits

Roles : [ROLE_USERS_MANAGE_ENTERPRISE, ROLE_VDC_ENUMERATE, ROLE_APPLIB_VIEW, ROLE_PHYS_DC_ALLOW_MODIFY_NETWORK]

Accept : providerlimits

Example

Delete a provider limit


DELETE https://example.com/api/admin/enterprises/{enterprise}/providerlimits/{providerlimit}

Roles : [ROLE_USERS_MANAGE_ENTERPRISE]

Example

Get a provider limit


Get provider limits for the current enterprise.

GET https://example.com/api/admin/enterprises/{enterprise}/providerlimits/{providerlimit}

Roles : [ROLE_USERS_MANAGE_ENTERPRISE]

Accept : providerlimit

Error Codes

  • PROVIDER-LIMIT-32 - The provider limits was not found

Example

Update a provider limit


Update the limit for the enterprise and the given provider.

PUT https://example.com/api/admin/enterprises/{enterprise}/providerlimits/{providerlimit}

Roles : [ROLE_USERS_MANAGE_ENTERPRISE]

Content-Type : providerlimit Accept : providerlimit

Example