Skip to main content
Skip table of contents

Assign a quota profile to an account

Request

To assign a quota profile to an account, send a PUT request to:

https://<host>:<port>/adm/v1/accounts/{uid}

Headers

  • Content-Type: application/json

Mandatory arguments

  • uid – the ID of the account to which the quota profile is to be applied

Other arguments

  • npvrProfileName – the name of the quota profile to be applied to the account

Example

A PUT request with this payload applies the quota profile called LARGE to the account specified in the URL:

CODE
{
  "npvrProfileName": "LARGE"
}

Response

A successful request returns an HTTP 200 status.

For example: 

CODE
{
  "matchedCount": 1,
  "modifiedCount": 1
}

A bad request returns an HTTP 400 status.

An unauthorised request returns an HTTP 401 status.

A forbidden request returns an HTTP 403 status.

If the account cannot be found, the request returns an HTTP 404 status.

See also

For full details of this API, see the ADM API documentation.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.