API

Accounts.

A key can read a little about its own account. Creating users and groups, and changing them, needs an administrator key.

See the API reference for the key and for errors. Changing a password or an authenticator app is not in this list.

The signed-in account

GET /api/v1/auth/me

Who the caller is.

Who. Any user with a key that has the read scope. A key with the admin scope includes the others. The key needs a license that includes the REST API.

Includes trash_days: how many days Trash keeps what people delete, or null when Trash is off and deletes are for good.

Success. 200.

FieldTypeMeaning
idstringrequiredThe id.
emailstringrequiredAn email address.
display_namestringrequired
is_adminbooleanrequired
access_userbooleanrequiredEffective levels, including groups. Administrator is already in is_admin and also makes both of these true.
access_automationbooleanrequired
csrf_tokenstringrequiredSent so the portal can put it on every request that changes something. It is derived from the session, so it is not a second thing to store or expire.
totp_enrolledbooleanrequired
trash_daysintegeroptionalHow many days Trash keeps what people delete; null when Trash is off and deletes are for good.
{
  "id": "k7Qm2sLp9vX4aB1c",
  "email": "[email protected]",
  "display_name": "example",
  "is_admin": true,
  "access_user": true,
  "access_automation": true,
  "csrf_token": "example",
  "totp_enrolled": true
}

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "unauthenticated",
    "message": "sign in to continue"
  }
}
csrf_token is an empty string for an API key. A key does not send x-farwing-csrf.

POST /api/v1/auth/sign-out-everywhere

End every session this account has.

Who. Any user with a key that has the read scope. A key with the admin scope includes the others. The key needs a license that includes the REST API.

Request body. None.

Success. 200.

JSON object.

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "unauthenticated",
    "message": "sign in to continue"
  }
}
This ends browser sessions for the account. It does not revoke the API key.

GET /api/v1/profile/downloads

The caller's browser download preferences.

Who. Any user with a key that has the read scope. A key with the admin scope includes the others. The key needs a license that includes the REST API.

Success. 200.

FieldTypeMeaning
verifyDownloadsbooleanrequired
{
  "verifyDownloads": true
}

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "unauthenticated",
    "message": "sign in to continue"
  }
}

PATCH /api/v1/profile/downloads

Change whether browser downloads are verified automatically.

Who. Any user with a key that has the read scope. A key with the admin scope includes the others. The key needs a license that includes the REST API.

Request body. JSON.

A field the server does not know is ignored.

FieldTypeMeaning
verifyDownloadsbooleanrequired
{
  "verifyDownloads": true
}

Success. 200.

FieldTypeMeaning
verifyDownloadsbooleanrequired
{
  "verifyDownloads": true
}

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "unauthenticated",
    "message": "sign in to continue"
  }
}

GET /api/v1/profile/recovery-codes

How many recovery codes are left.

Who. Any user with a key that has the read scope. A key with the admin scope includes the others. The key needs a license that includes the REST API.

Success. 200.

FieldTypeMeaning
totalintegerrequiredHow many matched, including ones not on this page.
unusedintegerrequired
{
  "total": 1,
  "unused": 1
}

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "unauthenticated",
    "message": "sign in to continue"
  }
}
The reply is only how many codes exist and how many are unused. It never returns a code. Replacing the codes is refused to an API key.

GET /api/v1/profile/sessions

Where this account is signed in.

Who. Any user with a key that has the read scope. A key with the admin scope includes the others. The key needs a license that includes the REST API.

Success. 200.

The body is an array.

FieldTypeMeaning
idstringrequiredThe id.
createdAtstringrequiredA time, as RFC 3339.
lastUsedAtstringrequiredA time, as RFC 3339.
expiresAtstringrequiredA time, as RFC 3339.
userAgentstringoptional, left out when empty
ipstringoptional, left out when empty
currentbooleanrequiredWhich row is the browser asking. Without it, "sign this one out" is a guess.
[
  {
    "id": "k7Qm2sLp9vX4aB1c",
    "createdAt": "2026-10-05T18:00:00Z",
    "lastUsedAt": "2026-10-05T18:00:00Z",
    "expiresAt": "2026-10-05T18:00:00Z",
    "userAgent": "example",
    "ip": "example",
    "current": true
  }
]

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "unauthenticated",
    "message": "sign in to continue"
  }
}

DELETE /api/v1/profile/sessions/{id}

End one of them.

Who. Any user with a key that has the read scope. A key with the admin scope includes the others. The key needs a license that includes the REST API.

Parameters.

NameInTypeMeaning
idpathstringrequiredThe resource's id.

Success. 200.

FieldTypeMeaning
okbooleanrequired
{
  "ok": true
}

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
404not_foundnot there, or not visible to this caller
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "not_found",
    "message": "not found"
  }
}

GET /api/v1/profile/traffic

The caller's own effective speed limits.

Who. Any user with a key that has the read scope. A key with the admin scope includes the others. The key needs a license that includes the REST API.

Success. 200.

FieldTypeMeaning
perTransferBpsintegeroptional
poolBpsintegeroptional
concurrencyintegeroptional
limitedBystringrequired
sentencestringrequired
layersarray of objectsrequiredEvery rule that took part, license first, the person's own last.

Each item is an object:

FieldTypeMeaning
kindstringrequiredlicense, server, group or user.
idstringrequiredThe group or user id. Empty for the license and the server.
groupKindstringoptionalshared or member for a group rule.
totalBpsintegeroptional
perTransferBpsintegeroptional
concurrencyintegeroptional
overriddenarray of stringrequiredFields this layer sets that the person's own rule replaces: total, perTransfer, concurrency.
winnersobjectrequiredThe layer that set each number.

It is an object:

FieldTypeMeaning
totalstringoptionalHow many matched, including ones not on this page.
perTransferstringoptional
concurrencystringoptional
{
  "perTransferBps": 1,
  "poolBps": 1,
  "concurrency": 1,
  "limitedBy": "example",
  "sentence": "example",
  "layers": [
    {
      "kind": "file",
      "id": "k7Qm2sLp9vX4aB1c",
      "groupKind": "example",
      "totalBps": 1,
      "perTransferBps": 1,
      "concurrency": 1,
      "overridden": [
        "example"
      ]
    }
  ],
  "winners": {
    "total": "example",
    "perTransfer": "example",
    "concurrency": "example"
  }
}

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "unauthenticated",
    "message": "sign in to continue"
  }
}

Users

GET /api/v1/users

Every account.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API.

Each account has clients: the last version of the farwing command line and of Farwing Desktop it was used from, newest first. Empty for an account only used in a browser. storage has home (private folders) and shared (what the person put in shared spaces), each {used, own: {mode: groups|none|bytes, bytes}, limit, source: own|group|none, group: {id, name}, pool: {used, limit, warn, over}, effective: {bytes, cappedBy}, warn, over, counting}. warnings lists limits that cannot all be met.

Parameters.

NameInTypeMeaning
qquerystringoptional
rolequerystringoptional
statusquerystringoptional
mfaquerystringoptional
groupquerystringoptionalnone for accounts in no group.
pagequeryintegeroptional
pageSizequeryintegeroptional

Success. 200.

JSON object.

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "unauthenticated",
    "message": "sign in to continue"
  }
}

POST /api/v1/users

Make an account. With no password, an invitation to choose one is emailed when email is set up. The address is used as it was typed.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API.

Request body. JSON.

A field the server does not know is ignored.

FieldTypeMeaning
emailstringrequiredAn email address.
displayNamestringrequired
passwordstringoptionalOptional. Leaving it out emails an invitation to choose a password, when this server can send email.
isAdminbooleanoptional
accessUserbooleanoptionalLeft out, a new account can use files and transfers. Automation stays off until an administrator checks it.
accessAutomationbooleanoptional
totpRequiredbooleanoptional
{
  "email": "[email protected]",
  "displayName": "example",
  "password": "a-secret-shown-once",
  "isAdmin": true,
  "accessUser": true,
  "accessAutomation": true,
  "totpRequired": true
}

Success. 200.

FieldTypeMeaning
idstringrequiredThe id.
emailstringrequiredAn email address.
displayNamestringrequired
isAdminbooleanrequired
accessUserbooleanrequiredThe account's own levels. A group can add to these; that sum is what /api/v1/auth/me reports, not this row.
accessAutomationbooleanrequired
disabledbooleanrequired
totpEnrolledbooleanrequiredWhether a second factor is set up. The secret itself never leaves the server after enrollment.
totpRequiredbooleanrequired
hasPasswordbooleanrequiredFalse for an account that signs in through single sign-on only, so the screen can say why there is no password to reset.
createdAtstringrequiredA time, as RFC 3339.
lastLoginAtstringoptional, left out when emptyA time, as RFC 3339.
clientsarray of ClientSeenoptional, left out when emptyThe Farwing clients the account was last used from. In the list of accounts only.

Each item is an object:

FieldTypeMeaning
clientstringrequiredcli or desktop.
versionstringrequiredThe version the client gave, such as 0.5.0.
seenAtstringrequiredWhen it was last seen, RFC 3339.
statusstringrequiredactive, invited, turned_off, or locked.
signInarray of stringoptional, left out when emptyHow the account signs in: any of local, directory, saml and sso. In the list of accounts only.
groupsintegeroptional, left out when emptyHow many groups the account is in. In the list of accounts only.
inviteSentbooleanoptional, left out when emptySet only when an account was just created without a password: whether the invitation email went out.
storagePersonStorageoptional, left out when emptyPrivate-folder and shared-space usage, limits and where each limit comes from.

It is an object:

FieldTypeMeaning
homeobjectrequired

It is an object:

FieldTypeMeaning
usedintegerrequired
ownobjectrequired

It is an object:

FieldTypeMeaning
modestringrequiredgroups, none or bytes.
bytesintegeroptionalSize in bytes.
limitintegeroptionalTheir own quota, else their quota group's limit for one member.
sourcestringrequiredown, group or none.
groupNamedoptional

It is an object:

FieldTypeMeaning
idstringrequiredThe id.
namestringrequiredThe name.
poolPooloptional

It is an object:

FieldTypeMeaning
usedintegerrequired
limitintegeroptional
warnbooleanrequired
overbooleanrequired
effectiveEffectiveoptional

It is an object:

FieldTypeMeaning
bytesintegerrequiredSize in bytes.
cappedBystringoptionallocation, space, group or disk.
warnbooleanrequired
overbooleanrequired
countingbooleanrequired
sharedobjectrequired

It is an object:

FieldTypeMeaning
usedintegerrequired
ownobjectrequired

It is an object:

FieldTypeMeaning
modestringrequiredgroups, none or bytes.
bytesintegeroptionalSize in bytes.
limitintegeroptionalTheir own quota, else their quota group's limit for one member.
sourcestringrequiredown, group or none.
groupNamedoptional

It is an object:

FieldTypeMeaning
idstringrequiredThe id.
namestringrequiredThe name.
poolPooloptional

It is an object:

FieldTypeMeaning
usedintegerrequired
limitintegeroptional
warnbooleanrequired
overbooleanrequired
effectiveEffectiveoptional

It is an object:

FieldTypeMeaning
bytesintegerrequiredSize in bytes.
cappedBystringoptionallocation, space, group or disk.
warnbooleanrequired
overbooleanrequired
countingbooleanrequired
warningsarray of stringrequiredStorage limits that cannot all be met. Saving is never refused for these.
{
  "id": "k7Qm2sLp9vX4aB1c",
  "email": "[email protected]",
  "displayName": "example",
  "isAdmin": true,
  "accessUser": true,
  "accessAutomation": true,
  "disabled": true,
  "totpEnrolled": true,
  "totpRequired": true,
  "hasPassword": true,
  "createdAt": "2026-10-05T18:00:00Z",
  "status": "example",
  "warnings": [
    "example"
  ]
}

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
400bad_requestthe address is taken, or the password was refused
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "bad_request",
    "message": "the address is taken, or the password was refused"
  }
}

PATCH /api/v1/users/{id}

Change an account. The last administrator cannot be demoted or disabled.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API.

homeQuota and sharedQuota set the person's own storage limit: {mode: "groups"} follows their groups, {mode: "none"} is no limit, {mode: "bytes", bytes} is a limit. Their own limit replaces the group's limit for one member; the group's total still applies. The reply's warnings lists limits that cannot all be met; the change is saved anyway.

Parameters.

NameInTypeMeaning
idpathstringrequiredThe resource's id.

Request body. JSON.

A field the server does not know is ignored.

FieldTypeMeaning
emailstringoptionalAn email address.
displayNamestringoptional
isAdminbooleanoptional
accessUserbooleanoptional
accessAutomationbooleanoptional
disabledbooleanoptional
totpRequiredbooleanoptional
homeQuotaOwnoptionalThe person's own limit for their private folders.

It is an object:

FieldTypeMeaning
modestringrequiredgroups, none or bytes.
bytesintegeroptionalSize in bytes.
sharedQuotaOwnoptionalThe person's own limit for what they put in shared spaces.

It is an object:

FieldTypeMeaning
modestringrequiredgroups, none or bytes.
bytesintegeroptionalSize in bytes.
{
  "email": "[email protected]",
  "displayName": "example",
  "isAdmin": true,
  "accessUser": true,
  "accessAutomation": true,
  "disabled": true,
  "totpRequired": true,
  "homeQuota": {
    "mode": "example",
    "bytes": 1048576
  }
}

Success. 200.

FieldTypeMeaning
idstringrequiredThe id.
emailstringrequiredAn email address.
displayNamestringrequired
isAdminbooleanrequired
accessUserbooleanrequiredThe account's own levels. A group can add to these; that sum is what /api/v1/auth/me reports, not this row.
accessAutomationbooleanrequired
disabledbooleanrequired
totpEnrolledbooleanrequiredWhether a second factor is set up. The secret itself never leaves the server after enrollment.
totpRequiredbooleanrequired
hasPasswordbooleanrequiredFalse for an account that signs in through single sign-on only, so the screen can say why there is no password to reset.
createdAtstringrequiredA time, as RFC 3339.
lastLoginAtstringoptional, left out when emptyA time, as RFC 3339.
clientsarray of ClientSeenoptional, left out when emptyThe Farwing clients the account was last used from. In the list of accounts only.

Each item is an object:

FieldTypeMeaning
clientstringrequiredcli or desktop.
versionstringrequiredThe version the client gave, such as 0.5.0.
seenAtstringrequiredWhen it was last seen, RFC 3339.
statusstringrequiredactive, invited, turned_off, or locked.
signInarray of stringoptional, left out when emptyHow the account signs in: any of local, directory, saml and sso. In the list of accounts only.
groupsintegeroptional, left out when emptyHow many groups the account is in. In the list of accounts only.
inviteSentbooleanoptional, left out when emptySet only when an account was just created without a password: whether the invitation email went out.
storagePersonStorageoptional, left out when emptyPrivate-folder and shared-space usage, limits and where each limit comes from.

It is an object:

FieldTypeMeaning
homeobjectrequired

It is an object:

FieldTypeMeaning
usedintegerrequired
ownobjectrequired

It is an object:

FieldTypeMeaning
modestringrequiredgroups, none or bytes.
bytesintegeroptionalSize in bytes.
limitintegeroptionalTheir own quota, else their quota group's limit for one member.
sourcestringrequiredown, group or none.
groupNamedoptional

It is an object:

FieldTypeMeaning
idstringrequiredThe id.
namestringrequiredThe name.
poolPooloptional

It is an object:

FieldTypeMeaning
usedintegerrequired
limitintegeroptional
warnbooleanrequired
overbooleanrequired
effectiveEffectiveoptional

It is an object:

FieldTypeMeaning
bytesintegerrequiredSize in bytes.
cappedBystringoptionallocation, space, group or disk.
warnbooleanrequired
overbooleanrequired
countingbooleanrequired
sharedobjectrequired

It is an object:

FieldTypeMeaning
usedintegerrequired
ownobjectrequired

It is an object:

FieldTypeMeaning
modestringrequiredgroups, none or bytes.
bytesintegeroptionalSize in bytes.
limitintegeroptionalTheir own quota, else their quota group's limit for one member.
sourcestringrequiredown, group or none.
groupNamedoptional

It is an object:

FieldTypeMeaning
idstringrequiredThe id.
namestringrequiredThe name.
poolPooloptional

It is an object:

FieldTypeMeaning
usedintegerrequired
limitintegeroptional
warnbooleanrequired
overbooleanrequired
effectiveEffectiveoptional

It is an object:

FieldTypeMeaning
bytesintegerrequiredSize in bytes.
cappedBystringoptionallocation, space, group or disk.
warnbooleanrequired
overbooleanrequired
countingbooleanrequired
warningsarray of stringrequiredStorage limits that cannot all be met. Saving is never refused for these.
{
  "id": "k7Qm2sLp9vX4aB1c",
  "email": "[email protected]",
  "displayName": "example",
  "isAdmin": true,
  "accessUser": true,
  "accessAutomation": true,
  "disabled": true,
  "totpEnrolled": true,
  "totpRequired": true,
  "hasPassword": true,
  "createdAt": "2026-10-05T18:00:00Z",
  "status": "example",
  "warnings": [
    "example"
  ]
}

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
400bad_requestthe change would leave the server with no administrator, or a quota is not a whole number of bytes
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "bad_request",
    "message": "the change would leave the server with no administrator, or a quota is not a whole number of bytes"
  }
}

DELETE /api/v1/users/{id}

Delete an account.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API.

Parameters.

NameInTypeMeaning
idpathstringrequiredThe resource's id.

Success. 200.

FieldTypeMeaning
deletedbooleanrequired
{
  "deleted": true
}

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
400bad_requestyou cannot delete your own account
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "bad_request",
    "message": "you cannot delete your own account"
  }
}

POST /api/v1/users/{id}/password

Set someone's password. Signs them out everywhere.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API.

Parameters.

NameInTypeMeaning
idpathstringrequiredThe resource's id.

Request body. JSON.

A field the server does not know is ignored.

FieldTypeMeaning
passwordstringrequired
{
  "password": "a-secret-shown-once"
}

Success. 200.

FieldTypeMeaning
idstringrequiredThe id.
emailstringrequiredAn email address.
displayNamestringrequired
isAdminbooleanrequired
accessUserbooleanrequiredThe account's own levels. A group can add to these; that sum is what /api/v1/auth/me reports, not this row.
accessAutomationbooleanrequired
disabledbooleanrequired
totpEnrolledbooleanrequiredWhether a second factor is set up. The secret itself never leaves the server after enrollment.
totpRequiredbooleanrequired
hasPasswordbooleanrequiredFalse for an account that signs in through single sign-on only, so the screen can say why there is no password to reset.
createdAtstringrequiredA time, as RFC 3339.
lastLoginAtstringoptional, left out when emptyA time, as RFC 3339.
clientsarray of ClientSeenoptional, left out when emptyThe Farwing clients the account was last used from. In the list of accounts only.

Each item is an object:

FieldTypeMeaning
clientstringrequiredcli or desktop.
versionstringrequiredThe version the client gave, such as 0.5.0.
seenAtstringrequiredWhen it was last seen, RFC 3339.
statusstringrequiredactive, invited, turned_off, or locked.
signInarray of stringoptional, left out when emptyHow the account signs in: any of local, directory, saml and sso. In the list of accounts only.
groupsintegeroptional, left out when emptyHow many groups the account is in. In the list of accounts only.
inviteSentbooleanoptional, left out when emptySet only when an account was just created without a password: whether the invitation email went out.
storagePersonStorageoptional, left out when emptyPrivate-folder and shared-space usage, limits and where each limit comes from.

It is an object:

FieldTypeMeaning
homeobjectrequired

It is an object:

FieldTypeMeaning
usedintegerrequired
ownobjectrequired

It is an object:

FieldTypeMeaning
modestringrequiredgroups, none or bytes.
bytesintegeroptionalSize in bytes.
limitintegeroptionalTheir own quota, else their quota group's limit for one member.
sourcestringrequiredown, group or none.
groupNamedoptional

It is an object:

FieldTypeMeaning
idstringrequiredThe id.
namestringrequiredThe name.
poolPooloptional

It is an object:

FieldTypeMeaning
usedintegerrequired
limitintegeroptional
warnbooleanrequired
overbooleanrequired
effectiveEffectiveoptional

It is an object:

FieldTypeMeaning
bytesintegerrequiredSize in bytes.
cappedBystringoptionallocation, space, group or disk.
warnbooleanrequired
overbooleanrequired
countingbooleanrequired
sharedobjectrequired

It is an object:

FieldTypeMeaning
usedintegerrequired
ownobjectrequired

It is an object:

FieldTypeMeaning
modestringrequiredgroups, none or bytes.
bytesintegeroptionalSize in bytes.
limitintegeroptionalTheir own quota, else their quota group's limit for one member.
sourcestringrequiredown, group or none.
groupNamedoptional

It is an object:

FieldTypeMeaning
idstringrequiredThe id.
namestringrequiredThe name.
poolPooloptional

It is an object:

FieldTypeMeaning
usedintegerrequired
limitintegeroptional
warnbooleanrequired
overbooleanrequired
effectiveEffectiveoptional

It is an object:

FieldTypeMeaning
bytesintegerrequiredSize in bytes.
cappedBystringoptionallocation, space, group or disk.
warnbooleanrequired
overbooleanrequired
countingbooleanrequired
warningsarray of stringrequiredStorage limits that cannot all be met. Saving is never refused for these.
{
  "id": "k7Qm2sLp9vX4aB1c",
  "email": "[email protected]",
  "displayName": "example",
  "isAdmin": true,
  "accessUser": true,
  "accessAutomation": true,
  "disabled": true,
  "totpEnrolled": true,
  "totpRequired": true,
  "hasPassword": true,
  "createdAt": "2026-10-05T18:00:00Z",
  "status": "example",
  "warnings": [
    "example"
  ]
}

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "unauthenticated",
    "message": "sign in to continue"
  }
}

POST /api/v1/users/{id}/invite

Email the invitation again, to an account that has no password yet.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API.

Parameters.

NameInTypeMeaning
idpathstringrequiredThe resource's id.

Request body. None.

Success. 200.

FieldTypeMeaning
idstringrequiredThe id.
emailstringrequiredAn email address.
displayNamestringrequired
isAdminbooleanrequired
accessUserbooleanrequiredThe account's own levels. A group can add to these; that sum is what /api/v1/auth/me reports, not this row.
accessAutomationbooleanrequired
disabledbooleanrequired
totpEnrolledbooleanrequiredWhether a second factor is set up. The secret itself never leaves the server after enrollment.
totpRequiredbooleanrequired
hasPasswordbooleanrequiredFalse for an account that signs in through single sign-on only, so the screen can say why there is no password to reset.
createdAtstringrequiredA time, as RFC 3339.
lastLoginAtstringoptional, left out when emptyA time, as RFC 3339.
clientsarray of ClientSeenoptional, left out when emptyThe Farwing clients the account was last used from. In the list of accounts only.

Each item is an object:

FieldTypeMeaning
clientstringrequiredcli or desktop.
versionstringrequiredThe version the client gave, such as 0.5.0.
seenAtstringrequiredWhen it was last seen, RFC 3339.
statusstringrequiredactive, invited, turned_off, or locked.
signInarray of stringoptional, left out when emptyHow the account signs in: any of local, directory, saml and sso. In the list of accounts only.
groupsintegeroptional, left out when emptyHow many groups the account is in. In the list of accounts only.
inviteSentbooleanoptional, left out when emptySet only when an account was just created without a password: whether the invitation email went out.
storagePersonStorageoptional, left out when emptyPrivate-folder and shared-space usage, limits and where each limit comes from.

It is an object:

FieldTypeMeaning
homeobjectrequired

It is an object:

FieldTypeMeaning
usedintegerrequired
ownobjectrequired

It is an object:

FieldTypeMeaning
modestringrequiredgroups, none or bytes.
bytesintegeroptionalSize in bytes.
limitintegeroptionalTheir own quota, else their quota group's limit for one member.
sourcestringrequiredown, group or none.
groupNamedoptional

It is an object:

FieldTypeMeaning
idstringrequiredThe id.
namestringrequiredThe name.
poolPooloptional

It is an object:

FieldTypeMeaning
usedintegerrequired
limitintegeroptional
warnbooleanrequired
overbooleanrequired
effectiveEffectiveoptional

It is an object:

FieldTypeMeaning
bytesintegerrequiredSize in bytes.
cappedBystringoptionallocation, space, group or disk.
warnbooleanrequired
overbooleanrequired
countingbooleanrequired
sharedobjectrequired

It is an object:

FieldTypeMeaning
usedintegerrequired
ownobjectrequired

It is an object:

FieldTypeMeaning
modestringrequiredgroups, none or bytes.
bytesintegeroptionalSize in bytes.
limitintegeroptionalTheir own quota, else their quota group's limit for one member.
sourcestringrequiredown, group or none.
groupNamedoptional

It is an object:

FieldTypeMeaning
idstringrequiredThe id.
namestringrequiredThe name.
poolPooloptional

It is an object:

FieldTypeMeaning
usedintegerrequired
limitintegeroptional
warnbooleanrequired
overbooleanrequired
effectiveEffectiveoptional

It is an object:

FieldTypeMeaning
bytesintegerrequiredSize in bytes.
cappedBystringoptionallocation, space, group or disk.
warnbooleanrequired
overbooleanrequired
countingbooleanrequired
warningsarray of stringrequiredStorage limits that cannot all be met. Saving is never refused for these.
{
  "id": "k7Qm2sLp9vX4aB1c",
  "email": "[email protected]",
  "displayName": "example",
  "isAdmin": true,
  "accessUser": true,
  "accessAutomation": true,
  "disabled": true,
  "totpEnrolled": true,
  "totpRequired": true,
  "hasPassword": true,
  "createdAt": "2026-10-05T18:00:00Z",
  "status": "example",
  "warnings": [
    "example"
  ]
}

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
400bad_requestthis account already has a password, so there is no invitation to send
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "bad_request",
    "message": "this account already has a password, so there is no invitation to send"
  }
}

POST /api/v1/users/{id}/clear-second-factor

Clear a lost authenticator, and its recovery codes.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API.

Parameters.

NameInTypeMeaning
idpathstringrequiredThe resource's id.

Request body. None.

Success. 200.

FieldTypeMeaning
idstringrequiredThe id.
emailstringrequiredAn email address.
displayNamestringrequired
isAdminbooleanrequired
accessUserbooleanrequiredThe account's own levels. A group can add to these; that sum is what /api/v1/auth/me reports, not this row.
accessAutomationbooleanrequired
disabledbooleanrequired
totpEnrolledbooleanrequiredWhether a second factor is set up. The secret itself never leaves the server after enrollment.
totpRequiredbooleanrequired
hasPasswordbooleanrequiredFalse for an account that signs in through single sign-on only, so the screen can say why there is no password to reset.
createdAtstringrequiredA time, as RFC 3339.
lastLoginAtstringoptional, left out when emptyA time, as RFC 3339.
clientsarray of ClientSeenoptional, left out when emptyThe Farwing clients the account was last used from. In the list of accounts only.

Each item is an object:

FieldTypeMeaning
clientstringrequiredcli or desktop.
versionstringrequiredThe version the client gave, such as 0.5.0.
seenAtstringrequiredWhen it was last seen, RFC 3339.
statusstringrequiredactive, invited, turned_off, or locked.
signInarray of stringoptional, left out when emptyHow the account signs in: any of local, directory, saml and sso. In the list of accounts only.
groupsintegeroptional, left out when emptyHow many groups the account is in. In the list of accounts only.
inviteSentbooleanoptional, left out when emptySet only when an account was just created without a password: whether the invitation email went out.
storagePersonStorageoptional, left out when emptyPrivate-folder and shared-space usage, limits and where each limit comes from.

It is an object:

FieldTypeMeaning
homeobjectrequired

It is an object:

FieldTypeMeaning
usedintegerrequired
ownobjectrequired

It is an object:

FieldTypeMeaning
modestringrequiredgroups, none or bytes.
bytesintegeroptionalSize in bytes.
limitintegeroptionalTheir own quota, else their quota group's limit for one member.
sourcestringrequiredown, group or none.
groupNamedoptional

It is an object:

FieldTypeMeaning
idstringrequiredThe id.
namestringrequiredThe name.
poolPooloptional

It is an object:

FieldTypeMeaning
usedintegerrequired
limitintegeroptional
warnbooleanrequired
overbooleanrequired
effectiveEffectiveoptional

It is an object:

FieldTypeMeaning
bytesintegerrequiredSize in bytes.
cappedBystringoptionallocation, space, group or disk.
warnbooleanrequired
overbooleanrequired
countingbooleanrequired
sharedobjectrequired

It is an object:

FieldTypeMeaning
usedintegerrequired
ownobjectrequired

It is an object:

FieldTypeMeaning
modestringrequiredgroups, none or bytes.
bytesintegeroptionalSize in bytes.
limitintegeroptionalTheir own quota, else their quota group's limit for one member.
sourcestringrequiredown, group or none.
groupNamedoptional

It is an object:

FieldTypeMeaning
idstringrequiredThe id.
namestringrequiredThe name.
poolPooloptional

It is an object:

FieldTypeMeaning
usedintegerrequired
limitintegeroptional
warnbooleanrequired
overbooleanrequired
effectiveEffectiveoptional

It is an object:

FieldTypeMeaning
bytesintegerrequiredSize in bytes.
cappedBystringoptionallocation, space, group or disk.
warnbooleanrequired
overbooleanrequired
countingbooleanrequired
warningsarray of stringrequiredStorage limits that cannot all be met. Saving is never refused for these.
{
  "id": "k7Qm2sLp9vX4aB1c",
  "email": "[email protected]",
  "displayName": "example",
  "isAdmin": true,
  "accessUser": true,
  "accessAutomation": true,
  "disabled": true,
  "totpEnrolled": true,
  "totpRequired": true,
  "hasPassword": true,
  "createdAt": "2026-10-05T18:00:00Z",
  "status": "example",
  "warnings": [
    "example"
  ]
}

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "unauthenticated",
    "message": "sign in to continue"
  }
}

Groups

GET /api/v1/admin/groups

Every group, with how many people are in it and how many folders it reaches.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API.

Each has quota {homePool, homeMember, sharedPool, sharedMember} in bytes (null is no limit), usage {home, shared} with {used, limit, warn, over} for each pool, and warnings for limits that cannot all be met.

Success. 200.

The body is an array.

FieldTypeMeaning
idstringrequiredThe id.
namestringrequiredThe name.
createdAtstringrequiredA time, as RFC 3339.
membersintegerrequiredHow many people are in it.
sharesintegerrequiredHow many folders it has been shared, so the list says what a group reaches without the administrator having to open each one.
accessUserbooleanrequiredLevels every member gains, on top of their own account.
accessAutomationbooleanrequired
accessAdminbooleanrequired
quotaobjectrequired

It is an object:

FieldTypeMeaning
homePoolintegeroptionalThe total for the private folders of the members it limits.
homeMemberintegeroptionalThe most for one member's private folders.
sharedPoolintegeroptional
sharedMemberintegeroptional
usageobjectrequired

It is an object:

FieldTypeMeaning
homeobjectrequired

It is an object:

FieldTypeMeaning
usedintegerrequired
limitintegeroptional
warnbooleanrequired
overbooleanrequired
sharedobjectrequired

It is an object:

FieldTypeMeaning
usedintegerrequired
limitintegeroptional
warnbooleanrequired
overbooleanrequired
warningsarray of stringrequiredLimits that cannot all be met. Saving is never refused for these.
[
  {
    "id": "k7Qm2sLp9vX4aB1c",
    "name": "Rush delivery",
    "createdAt": "2026-10-05T18:00:00Z",
    "members": 1,
    "shares": 1,
    "accessUser": true,
    "accessAutomation": true,
    "accessAdmin": true,
    "quota": {
      "homePool": 1,
      "homeMember": 1,
      "sharedPool": 1,
      "sharedMember": 1
    },
    "usage": {
      "home": {
        "used": 1,
        "limit": 50,
        "warn": true,
        "over": true
      },
      "shared": {
        "used": 1,
        "limit": 50,
        "warn": true,
        "over": true
      }
    },
    "warnings": [
      "example"
    ]
  }
]

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "unauthenticated",
    "message": "sign in to continue"
  }
}

POST /api/v1/admin/groups

Make a group. Optional homePool, homeMember, sharedPool and sharedMember set its storage limits in bytes.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API.

Request body. JSON.

A field the server does not know is ignored.

FieldTypeMeaning
namestringrequiredThe name.
accessUserbooleanoptionalLeft out, a new group adds no level. Membership alone does not open files or automation.
accessAutomationbooleanoptional
accessAdminbooleanoptional
homePoolintegeroptional
homeMemberintegeroptional
sharedPoolintegeroptional
sharedMemberintegeroptional
{
  "name": "Rush delivery",
  "accessUser": true,
  "accessAutomation": true,
  "accessAdmin": true,
  "homePool": 1,
  "homeMember": 1,
  "sharedPool": 1,
  "sharedMember": 1
}

Success. 200.

FieldTypeMeaning
idstringrequiredThe id.
namestringrequiredThe name.
createdAtstringrequiredA time, as RFC 3339.
membersintegerrequiredHow many people are in it.
sharesintegerrequiredHow many folders it has been shared, so the list says what a group reaches without the administrator having to open each one.
accessUserbooleanrequiredLevels every member gains, on top of their own account.
accessAutomationbooleanrequired
accessAdminbooleanrequired
quotaobjectrequired

It is an object:

FieldTypeMeaning
homePoolintegeroptionalThe total for the private folders of the members it limits.
homeMemberintegeroptionalThe most for one member's private folders.
sharedPoolintegeroptional
sharedMemberintegeroptional
usageobjectrequired

It is an object:

FieldTypeMeaning
homeobjectrequired

It is an object:

FieldTypeMeaning
usedintegerrequired
limitintegeroptional
warnbooleanrequired
overbooleanrequired
sharedobjectrequired

It is an object:

FieldTypeMeaning
usedintegerrequired
limitintegeroptional
warnbooleanrequired
overbooleanrequired
warningsarray of stringrequiredLimits that cannot all be met. Saving is never refused for these.
{
  "id": "k7Qm2sLp9vX4aB1c",
  "name": "Rush delivery",
  "createdAt": "2026-10-05T18:00:00Z",
  "members": 1,
  "shares": 1,
  "accessUser": true,
  "accessAutomation": true,
  "accessAdmin": true,
  "quota": {
    "homePool": 1,
    "homeMember": 1,
    "sharedPool": 1,
    "sharedMember": 1
  },
  "usage": {
    "home": {
      "used": 1,
      "limit": 50,
      "warn": true,
      "over": true
    },
    "shared": {
      "used": 1,
      "limit": 50,
      "warn": true,
      "over": true
    }
  },
  "warnings": [
    "example"
  ]
}

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
409conflictthe name is taken
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "conflict",
    "message": "the name is taken"
  }
}

GET /api/v1/admin/groups/{id}

One group, its members and its shared folders. Each member has homeUsed and sharedUsed.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API.

Parameters.

NameInTypeMeaning
idpathstringrequiredThe resource's id.

Success. 200.

FieldTypeMeaning
idstringrequiredThe id.
namestringrequiredThe name.
createdAtstringrequiredA time, as RFC 3339.
accessUserbooleanrequired
accessAutomationbooleanrequired
accessAdminbooleanrequired
quotaobjectrequired

It is an object:

FieldTypeMeaning
homePoolintegeroptionalThe total for the private folders of the members it limits.
homeMemberintegeroptionalThe most for one member's private folders.
sharedPoolintegeroptional
sharedMemberintegeroptional
usageobjectrequired

It is an object:

FieldTypeMeaning
homeobjectrequired

It is an object:

FieldTypeMeaning
usedintegerrequired
limitintegeroptional
warnbooleanrequired
overbooleanrequired
sharedobjectrequired

It is an object:

FieldTypeMeaning
usedintegerrequired
limitintegeroptional
warnbooleanrequired
overbooleanrequired
warningsarray of stringrequired
membersarray of objectsrequired

Each item is an object:

FieldTypeMeaning
idstringrequiredThe id.
emailstringrequiredAn email address.
displayNamestringrequired
homeUsedintegerrequiredBytes in their private folders, and what they put in shared spaces.
sharedUsedintegerrequired
sharesarray of objectsrequired

Each item is an object:

FieldTypeMeaning
idstringrequiredThe id.
rootIdstringrequiredThe id.
rootNamestringrequiredThe storage location's name.
pathstringrequiredRelative to the storage location. Empty is the whole location.
canReadbooleanrequired
canWritebooleanrequired
canDeletebooleanrequired
{
  "id": "k7Qm2sLp9vX4aB1c",
  "name": "Rush delivery",
  "createdAt": "2026-10-05T18:00:00Z",
  "accessUser": true,
  "accessAutomation": true,
  "accessAdmin": true,
  "quota": {
    "homePool": 1,
    "homeMember": 1,
    "sharedPool": 1,
    "sharedMember": 1
  },
  "usage": {
    "home": {
      "used": 1,
      "limit": 50,
      "warn": true,
      "over": true
    },
    "shared": {
      "used": 1,
      "limit": 50,
      "warn": true,
      "over": true
    }
  },
  "warnings": [
    "example"
  ],
  "members": [
    {
      "id": "k7Qm2sLp9vX4aB1c",
      "email": "[email protected]",
      "displayName": "example",
      "homeUsed": 1,
      "sharedUsed": 1
    }
  ],
  "shares": [
    {
      "id": "k7Qm2sLp9vX4aB1c",
      "rootId": "k7Qm2sLp9vX4aB1c",
      "rootName": "example",
      "path": "projects/rush",
      "canRead": true,
      "canWrite": true,
      "canDelete": true
    }
  ]
}

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "unauthenticated",
    "message": "sign in to continue"
  }
}

PATCH /api/v1/admin/groups/{id}

Rename it, change its levels, or change its storage limits: homePool, homeMember, sharedPool, sharedMember in bytes, null for no limit. Saving is never refused because limits conflict; the reply's warnings says so.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API.

Parameters.

NameInTypeMeaning
idpathstringrequiredThe resource's id.

Request body. JSON.

A field the server does not know is ignored.

FieldTypeMeaning
namestringoptionalThe name.
accessUserbooleanoptional
accessAutomationbooleanoptional
accessAdminbooleanoptional
homePoolintegeroptionalBytes. Left out keeps the limit; null removes it.
homeMemberintegeroptional
sharedPoolintegeroptional
sharedMemberintegeroptional
{
  "name": "Rush delivery",
  "accessUser": true,
  "accessAutomation": true,
  "accessAdmin": true,
  "homePool": 1,
  "homeMember": 1,
  "sharedPool": 1,
  "sharedMember": 1
}

Success. 200.

FieldTypeMeaning
idstringrequiredThe id.
namestringrequiredThe name.
createdAtstringrequiredA time, as RFC 3339.
membersintegerrequiredHow many people are in it.
sharesintegerrequiredHow many folders it has been shared, so the list says what a group reaches without the administrator having to open each one.
accessUserbooleanrequiredLevels every member gains, on top of their own account.
accessAutomationbooleanrequired
accessAdminbooleanrequired
quotaobjectrequired

It is an object:

FieldTypeMeaning
homePoolintegeroptionalThe total for the private folders of the members it limits.
homeMemberintegeroptionalThe most for one member's private folders.
sharedPoolintegeroptional
sharedMemberintegeroptional
usageobjectrequired

It is an object:

FieldTypeMeaning
homeobjectrequired

It is an object:

FieldTypeMeaning
usedintegerrequired
limitintegeroptional
warnbooleanrequired
overbooleanrequired
sharedobjectrequired

It is an object:

FieldTypeMeaning
usedintegerrequired
limitintegeroptional
warnbooleanrequired
overbooleanrequired
warningsarray of stringrequiredLimits that cannot all be met. Saving is never refused for these.
{
  "id": "k7Qm2sLp9vX4aB1c",
  "name": "Rush delivery",
  "createdAt": "2026-10-05T18:00:00Z",
  "members": 1,
  "shares": 1,
  "accessUser": true,
  "accessAutomation": true,
  "accessAdmin": true,
  "quota": {
    "homePool": 1,
    "homeMember": 1,
    "sharedPool": 1,
    "sharedMember": 1
  },
  "usage": {
    "home": {
      "used": 1,
      "limit": 50,
      "warn": true,
      "over": true
    },
    "shared": {
      "used": 1,
      "limit": 50,
      "warn": true,
      "over": true
    }
  },
  "warnings": [
    "example"
  ]
}

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
400bad_requestnothing to change
409conflictthe name is taken
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "bad_request",
    "message": "nothing to change"
  }
}

DELETE /api/v1/admin/groups/{id}

Remove it. Memberships and grants go; no file is touched.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API.

Parameters.

NameInTypeMeaning
idpathstringrequiredThe resource's id.

Success. 200.

JSON object.

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "unauthenticated",
    "message": "sign in to continue"
  }
}

POST /api/v1/admin/groups/{id}/members

Put somebody in the group. Doing it twice is not an error.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API.

Parameters.

NameInTypeMeaning
idpathstringrequiredThe resource's id.

Request body. JSON.

A field the server does not know is ignored.

FieldTypeMeaning
userIdstringrequiredThe id.
{
  "userId": "k7Qm2sLp9vX4aB1c"
}

Success. 200.

FieldTypeMeaning
idstringrequiredThe id.
namestringrequiredThe name.
createdAtstringrequiredA time, as RFC 3339.
accessUserbooleanrequired
accessAutomationbooleanrequired
accessAdminbooleanrequired
quotaobjectrequired

It is an object:

FieldTypeMeaning
homePoolintegeroptionalThe total for the private folders of the members it limits.
homeMemberintegeroptionalThe most for one member's private folders.
sharedPoolintegeroptional
sharedMemberintegeroptional
usageobjectrequired

It is an object:

FieldTypeMeaning
homeobjectrequired

It is an object:

FieldTypeMeaning
usedintegerrequired
limitintegeroptional
warnbooleanrequired
overbooleanrequired
sharedobjectrequired

It is an object:

FieldTypeMeaning
usedintegerrequired
limitintegeroptional
warnbooleanrequired
overbooleanrequired
warningsarray of stringrequired
membersarray of objectsrequired

Each item is an object:

FieldTypeMeaning
idstringrequiredThe id.
emailstringrequiredAn email address.
displayNamestringrequired
homeUsedintegerrequiredBytes in their private folders, and what they put in shared spaces.
sharedUsedintegerrequired
sharesarray of objectsrequired

Each item is an object:

FieldTypeMeaning
idstringrequiredThe id.
rootIdstringrequiredThe id.
rootNamestringrequiredThe storage location's name.
pathstringrequiredRelative to the storage location. Empty is the whole location.
canReadbooleanrequired
canWritebooleanrequired
canDeletebooleanrequired
{
  "id": "k7Qm2sLp9vX4aB1c",
  "name": "Rush delivery",
  "createdAt": "2026-10-05T18:00:00Z",
  "accessUser": true,
  "accessAutomation": true,
  "accessAdmin": true,
  "quota": {
    "homePool": 1,
    "homeMember": 1,
    "sharedPool": 1,
    "sharedMember": 1
  },
  "usage": {
    "home": {
      "used": 1,
      "limit": 50,
      "warn": true,
      "over": true
    },
    "shared": {
      "used": 1,
      "limit": 50,
      "warn": true,
      "over": true
    }
  },
  "warnings": [
    "example"
  ],
  "members": [
    {
      "id": "k7Qm2sLp9vX4aB1c",
      "email": "[email protected]",
      "displayName": "example",
      "homeUsed": 1,
      "sharedUsed": 1
    }
  ],
  "shares": [
    {
      "id": "k7Qm2sLp9vX4aB1c",
      "rootId": "k7Qm2sLp9vX4aB1c",
      "rootName": "example",
      "path": "projects/rush",
      "canRead": true,
      "canWrite": true,
      "canDelete": true
    }
  ]
}

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
400bad_requestno such account
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "bad_request",
    "message": "no such account"
  }
}

DELETE /api/v1/admin/groups/{id}/members/{user_id}

Take them out again.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API.

Parameters.

NameInTypeMeaning
idpathstringrequiredThe group.
user_idpathstringrequiredThe account.

Success. 200.

JSON object.

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "unauthenticated",
    "message": "sign in to continue"
  }
}

POST /api/v1/admin/groups/{id}/shares

Give the group a folder, or change the rights it has on one.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API.

Parameters.

NameInTypeMeaning
idpathstringrequiredThe resource's id.

Request body. JSON.

A field the server does not know is ignored.

FieldTypeMeaning
rootIdstringrequiredThe id.
pathstringoptionalLeft out means the whole root, which is the widest share there is and therefore has to be typed deliberately rather than arrived at.
canReadbooleanoptional
canWritebooleanoptional
canDeletebooleanoptional
{
  "rootId": "k7Qm2sLp9vX4aB1c",
  "path": "projects/rush",
  "canRead": true,
  "canWrite": true,
  "canDelete": true
}

Success. 200.

FieldTypeMeaning
idstringrequiredThe id.
rootIdstringrequiredThe id.
rootNamestringrequiredThe storage location's name.
pathstringrequiredRelative to the storage location. Empty is the whole location.
canReadbooleanrequired
canWritebooleanrequired
canDeletebooleanrequired
{
  "id": "k7Qm2sLp9vX4aB1c",
  "rootId": "k7Qm2sLp9vX4aB1c",
  "rootName": "example",
  "path": "projects/rush",
  "canRead": true,
  "canWrite": true,
  "canDelete": true
}

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
400bad_requesta share with none of read, write or delete
404not_foundno such group or storage location
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "bad_request",
    "message": "a share with none of read, write or delete"
  }
}

DELETE /api/v1/admin/groups/{id}/shares/{grant_id}

Take the folder away. Nothing is deleted.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API.

Parameters.

NameInTypeMeaning
idpathstringrequiredThe group.
grant_idpathstringrequiredThe share.

Success. 200.

JSON object.

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
404not_foundnot there, or not visible to this caller
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "not_found",
    "message": "not found"
  }
}