PUT api/v1/Agents/{agentId}/Quota

UpdateQuota

Request Information

Parameters

NameDescriptionAdditional information
quota

Define this parameter in the request body.

agentId

Define this parameter in the request URI.

Request body formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "USR": {
    "Total": 1,
    "Used": 2,
    "ValidFrom": "2025-04-25T14:25:23.2424547Z",
    "ValidTo": "2025-04-25T14:25:23.2424547Z"
  }
}

application/xml, text/xml

Sample:
<AgentSettingQuotaDTO>
  <USR>
    <Total>1</Total>
    <Used>2</Used>
    <ValidFrom>2025-04-25T14:25:23.2424547+00:00</ValidFrom>
    <ValidTo>2025-04-25T14:25:23.2424547+00:00</ValidTo>
  </USR>
</AgentSettingQuotaDTO>

Response Information

Response body formats

application/json, text/json

Sample:
{
  "USR": {
    "Total": 1,
    "Used": 2,
    "ValidFrom": "2025-04-25T14:25:23.2424547Z",
    "ValidTo": "2025-04-25T14:25:23.2424547Z"
  }
}

application/xml, text/xml

Sample:
<AgentSettingQuotaDTO>
  <USR>
    <Total>1</Total>
    <Used>2</Used>
    <ValidFrom>2025-04-25T14:25:23.2424547+00:00</ValidFrom>
    <ValidTo>2025-04-25T14:25:23.2424547+00:00</ValidTo>
  </USR>
</AgentSettingQuotaDTO>