You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e2c691e
Browse filesBrowse the repository at this point in the historyBrowse files
--data-urlencode 'lpath=<string>'\ # Absolute logical path to the collection which the quota applies.
1681
+
--data-urlencode 'maximum-bytes=<integer>'\ # The number of bytes which will serves as the byte limit. Optional.
1682
+
--data-urlencode 'maximum-objects=<integer>'# The number of objects which will serve as the limit. Optional.
1683
+
```
1684
+
1685
+
`maximum-bytes` and/or `maximum-objects` MUST be specified for this operation to succeed.
1686
+
1687
+
To remove a quota, set `maximum-bytes` and `maximum-objects` to 0.
1688
+
1689
+
#### Response
1690
+
1691
+
If an HTTP status code of 200 is returned, the body of the response will contain JSON. Its structure is shown below.
1692
+
1693
+
```js
1694
+
{
1695
+
"irods_response": {
1696
+
"status_code":0
1697
+
"status_message":"string"// Optional
1698
+
}
1699
+
}
1700
+
```
1701
+
1702
+
If there was an error, expect an HTTP status code in either the 4XX or 5XX range.
1703
+
1704
+
### recalculate
1705
+
1706
+
Calculate or update quota information based on the state of the catalog.
1707
+
1708
+
> [!WARNING]
1709
+
> This operation requires rodsadmin level privileges.
1710
+
1711
+
> [!IMPORTANT]
1712
+
> iRODS does not automatically update quota information as data changes. This operation is provided to give administrators control over how frequently totals are calculated.
0 commit comments