DeepFellow DOCS

Leave organization

DELETE
/v1/organization/users/me

Leave organization.

If leaving user's default organization was this organization, their default organization is switched to another organization they belong to, or cleared if none remain.

Authorization

headerAuthorizationBearer <token>

Header Parameters

OpenAI-Organization?|

Organization Id from OpenAi compatible endpoint. Required to organization access or project access (with OpenAI-Project header) when logged as User or Admin User.

Response Body

Successful Response

application/json
  1. response
object?string
Default"organization.user.deleted"
id*string

A 24-character hexadecimal MongoDB ObjectId string.

Match^[0-9a-fA-F]{24}$
deleted*boolean
Example Request
curl -X DELETE 'https://deepfellow-server-host/v1/organization/users/me'
Example Response
{  "object": "organization.user.deleted",  "id": "5eb7cf5a86d9755df3a6c593",  "deleted": true}

We use cookies on our website. We use them to ensure proper functioning of the site and, if you agree, for purposes such as analytics, marketing, and targeting ads.