Skip to content

Delete User

Open in ChatGPT Open in Claude
DELETE
/v1/user
curl --request DELETE \
--url https://api.foldspace.ai/v1/user \
--header 'Content-Type: application/json' \
--header 'X-FOLDSPACE-API-KEY: <X-FOLDSPACE-API-KEY>' \
--data '{ "identifyId": "91LXudnMyzIcI6IynKcc9KILRS2" }'

Deletes a user by identifyId.

Body containing the unique identifyId of the user to be deleted

Media type application/json

DTO for deleting a user by identifyId

object
identifyId

The unique identifier of the user to be deleted

string
Examples
Example Example Request

Example Request

{
"identifyId": "91LXudnMyzIcI6IynKcc9KILRS2"
}

User successfully deleted

Media type application/json
string
Example
{
"message": "User successfully deleted"
}

Unauthorized

Media type application/json
string
Example
{
"error": "Unauthorized"
}

User not found

Media type application/json
string
Example
{
"error": "User not found"
}

Rate limit exceeded for subscription

Media type */*
string
Example
{
"error": "Rate limit exceeded for subscription"
}

Internal server error

Media type application/json
string
Example
{
"error": "Internal server error"
}