Skip to navigation

Team Folder Space Limit Set

Preview
View as Markdown

Sets the space limit configuration of a team folder, replacing any existing configuration. See TeamFolderSpaceLimitCapsType for how space limits are enforced.

Required scope: team_data.content.write

Endpoint format: RPC

Authentication: Team

Authentication

AuthorizationBearer

Team-level OAuth 2.0 token issued to a Dropbox Business admin. Use Authorization: Bearer <token>.

Obtain via the authorization code flow with team-scoped permissions.

Grants access to team-wide administrative operations.

You can generate a short-lived access token in the Developer Console; see Testing with a generated token.

Request

This endpoint expects an object.
caps_typeobjectRequired
The caps type to apply to the specified team folder.
Variant:
team.TeamFolderSpaceLimitCapsType.offobjectRequired
No space limit is enforced and no usage notifications are sent. Any stored space limit value is ignored.
notification_targetobjectRequired
Who receives usage notifications for the specified team folder.
Variant:
team.TeamFolderSpaceLimitNotificationTarget.adminsobjectRequired
Team admins who can manage team folders.
space_limit_bytesuint64Required>=0

The maximum total size, in bytes, of all content in the team folder and its subfolders. When caps_type is TeamFolderSpaceLimitCapsType.soft or TeamFolderSpaceLimitCapsType.hard, this must be at least 2 GB (2147483648 bytes). It must never exceed the team’s total storage capacity. When caps_type is TeamFolderSpaceLimitCapsType.off, the value is stored but has no effect, and it may be 0.

team_folder_idstringRequiredformat: "[-_0-9a-zA-Z:]+"
The ID of the team folder.

Response headers

X-Dropbox-Request-IdstringOptional
A unique identifier for the request, useful for debugging and support.

Response

Successful response (no content)

Errors

401
Unauthorized Error
403
Forbidden Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error