Contents

Popular
 Contents

Reset Quota policy can be used to reset the quota limit of a user. This helps in cases where a quota needs to be reset for a particular user using administration API.

Configuration

The properties that have to be configured to use the policy are described below.


Figure 1: Reset Quota Policy Configuration properties

Icon

When you click Edit  button corresponding to the above properties, you get options to configure Type, Variable Name and Default Value.

Figure 2: Dialog box to choose Identifier Type

Refer  Configuring Message Part Identifier  section to configure these parameters.

Example

Configure the policy with the details below:

  • Quota Identifier:
    • Type: PARAMETER
    • Variable Name: clientId (The ID of the client making the request)
    • Default Value: default (can be any value)

      Icon

      This Quota Identifier should be the same as the quota identifier defined in Quota Policy.

  • API Project Name:

    • Type: PARAMETER
    • Variable Name: projectName
    • Default Value: default (can be any value)
  • API Project Version:
    • Type: PARAMETER
    • Variable Name: projectVersion
    • Default Value: default (can be any value)
  • Deployed Environment:

    • Type: PARAMETER
    • Variable Name: environmentName
    • Default Value: default (can be any value)
  • Quota Policy Name:
    • Type: PARAMETER
    • Variable Name: QuotaPolicyName
    • Default Value: default (can be any value)


Figure 3: Reset Quota policy configured with values as provided in the Example

When the quota limit of client for a project exceeds, an administrative tool can send a request to the project containing this policy with appropriate parameters to reset the quota so that the client will have a chance to send requests in special cases.

Adaptavist ThemeBuilder EngineAtlassian Confluence