Deletes an existing user field from a community.Bearer token authentication required
Only community owners and administrators can access this endpoint
User must have either COMMUNITY_OWNER
or COMMUNITY_ADMIN
permissions for the specified community
Community API key with userFields
permission can also be used
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
The ID or name of the user field to delete
Request samples
curl --location --request DELETE 'https://application.returning.ai/apis/v1/communities//user-fields/'
Responses
application/json
Delete user field successful
Success message for the operation
The unique identifier of the deleted user field
The name of the deleted user field
The field key of the deleted user field
The type of the deleted user field
{
"meta": {
"status": "success",
"statusCode": 200
},
"message": "Delete user field successful",
"data": {
"_id": "6857de260f3c24d98fd7ca85",
"name": "Total Points",
"field": "total_points",
"type": "number"
}
}
Modified at 2025-07-17 16:33:31