Skip to navigation

Members Delete Profile Photo

View as Markdown

Deletes a team member’s profile photo.

Permission : Team member management.

Required scope: members.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 from the App Console; see Testing with a generated token.

Request

This endpoint expects an object.
userobjectRequired
Identity of the user whose profile photo will be deleted.
Variant:
team.UserSelectorArg.team_member_idobjectRequired

Response headers

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

Response

Successful response
profileobject
Profile of a user as a member of a team.
roleobject
The user's role in the team.
Variant:
team.AdminTier.team_adminobject

User is an administrator of the team - has all permissions.

Errors

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