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-24T12:51:20.4875124Z",
    "ValidTo": "2025-04-24T12:51:20.4875124Z"
  }
}

application/xml, text/xml

Sample:
<AgentSettingQuotaDTO>
  <USR>
    <Total>1</Total>
    <Used>2</Used>
    <ValidFrom>2025-04-24T12:51:20.4875124+00:00</ValidFrom>
    <ValidTo>2025-04-24T12:51:20.4875124+00:00</ValidTo>
  </USR>
</AgentSettingQuotaDTO>

Response Information

Response body formats

application/json, text/json

Sample:
{
  "USR": {
    "Total": 1,
    "Used": 2,
    "ValidFrom": "2025-04-24T12:51:20.5031404Z",
    "ValidTo": "2025-04-24T12:51:20.5031404Z"
  }
}

application/xml, text/xml

Sample:
<AgentSettingQuotaDTO>
  <USR>
    <Total>1</Total>
    <Used>2</Used>
    <ValidFrom>2025-04-24T12:51:20.5031404+00:00</ValidFrom>
    <ValidTo>2025-04-24T12:51:20.5031404+00:00</ValidTo>
  </USR>
</AgentSettingQuotaDTO>