1. User Fields
Returning.AI copy
  • Returning.AI
    • APIs
      • Authentication
      • System API
        • Auth
          • Secure Auth
          • register
          • verify email
          • login
        • Server
          • create new server
          • get my servers
          • update server
          • channel list of server
        • Channel
          • get channels list
          • create new channel
          • update channel
          • delete channel
        • Role
          • role list of server
          • create new role
          • update role
          • delete role
          • get role list of user on a server
          • add role to a user on a server
          • remove role from a user on a server
        • Badge
          • get badges list
          • create new badge
          • update badge
          • delete badge
          • award badge to user
          • remove badge from user
      • Application API
        • Community Users
          • Get community users
          • Get user
        • User Field Histories
          • Get all user field histories in a community
          • Get user field histories for a specific field
          • Get user field histories for a specific user
          • Get user field histories of specific user field and user
          • Create user field history for specific user
        • User Fields
          • Get All User Fields
            GET
          • Get Specific User Field
            GET
          • Create Custom User Field
            POST
          • Update Custom User Field
            PUT
          • Delete Custom User Field
            DELETE
      • Integration API
        • Analysis API
          • Create Analysis
          • Get Analysis
          • Update Analysis
          • Delete Analysis
          • List Analyses
          • Append Drawings
        • Users
          • Get Users with Filters
          • Create New User
          • Get User Data
          • Manage User Account
          • Get User Gamification Stats
          • Bulk Import
          • Bulk Update
          • Premium Currency Bulk Update
          • Get All Bulk Update
          • Check Bulk Update Status
          • Check Bulk Update Details
          • Get all mini game logs by user email
          • Get user's current Mini Games and Streak stats
        • Messages
          • Get Messages
          • Send Message
          • Reply Message
          • React Message
          • Upload Image
        • Channels
          • Get Channels List
        • Xp Settings
          • Get Tier Info
        • Gamifications
          • Get User Gamification History
          • Get User Gamification Logs
        • Redemption Transactions
          • Update redemption transaction status
          • Get all redemption transactions by user email
          • Get All Redemption Statuses
          • Get Redemption Status by ID
          • Create Redemption Status
          • Get all redemption transactions by Community
        • Streak Logs
          • Get Streak Logs
    • Channels
      • Iframe
    • Events
      • Outgoing webhooks
        • Encryption
        • User Joins Server
        • User Visits server
        • New Message Posted Anywhere
        • New Message Posted To channel
        • Purchased Store Item
      • Incoming webhooks
        • API Keys & Encryption
        • Send message into channels
        • Update Custom User Fields
        • Update In-game currency
    • Widgets
      • Authenticated Widgets
      • Public widgets
    • Features
  • Schemas
    • Sample Schemas
      • Pet
      • Category
      • Tag
    • Schemas
      • ValidationError
      • NotFoundError
      • InternalServerError
      • NotImplementedError
      • CreateUserFieldHistoryResponse
      • CreateUserFieldHistorySuccessResponse
      • UserFieldHistoryItem
      • GetUserFieldHistoriesResponse
      • UserFieldHistoriesValidationError
      • UserFieldHistoriesMetaWithValidation
      • UserFieldHistoriesMetaWithPagination
      • GetUserFieldHistoriesSuccessResponse
      • CreateUserFieldResponse
      • CreateUserFieldSuccessResponse
      • DeleteUserFieldResponse
      • DeleteUserFieldSuccessResponse
      • UserFieldCreator
      • GetUserFieldResponse
      • GetUserFieldSuccessResponse
      • ValidationErrorItem
      • GetUserFieldsMetaResponse
      • CreatorInfo
      • UserFieldResponse
      • GetUserFieldsSuccessResponse
      • UpdateUserFieldResponse
      • UpdateUserFieldPayload
      • UpdateUserFieldSuccessResponse
      • MetaResponse
      • GetUserResponse
      • GetUserSuccessResponse
    • Outgoing webhooks
      • Purchased store item
      • New message posted to channel
      • User visits server
      • User join server
      • ErrorResponse
    • Analysis
      • UpdateAnalysisRequest
      • AppendDrawingsRequest
      • CreateAnalysisResponse
      • GetAnalysisResponse
      • UpdateAnalysisResponse
      • AppendDrawingsResponse
      • AnalysisMetadata
      • Expiry
      • Levels
      • LevelEntry
      • Drawing
      • HorizontalLineDrawing
      • LineDrawing
      • RectangleDrawing
      • ParallelDrawing
      • FibonacciRetracementDrawing
      • Coordinate
      • DrawingStyle
      • AnalysisDetail
      • AnalysisSummary
      • CreateAnalysisRequest
      • ListAnalysesResponse
  1. User Fields

Delete Custom User Field

DELETE
/apis/v1/communities/{communityId}/user-fields/{fieldIdOrName}
This endpoint deletes an custom user field in a community.

Authorization#

Bearer token Required
Found in the platform under community settings > API keys.
Permission: User Fields

Community ID#

Community ID is needed in the path.
Found in the platform under community settings > Appearance.

Field ID or name#

The unique identifier (ObjectId) or name (string) of the custom user field to update. There are 2 methods to get the field ID or name
1.
Via API
Use the Get All User Fields endpoint to retrive all fields, use the _id or field in the response.
2.
Via community settings
In the community settings > User Fields, the Field name and Field ID can be found in each field column.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Responses

🟢200OK
application/json
Delete user field successful
Body

🟠400Bad Request
🟠404Record Not Found
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE '/apis/v1/communities//user-fields/' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Success
{
    "meta": {
        "status": "success",
        "statusCode": 200
    },
    "message": "Delete user field successful",
    "data": {
        "_id": "6857de260f3c24d98fd7ca85",
        "name": "Total Points",
        "field": "total_points",
        "type": "number"
    }
}
Modified at 2026-03-24 09:39:51
Previous
Update Custom User Field
Next
Integration API
Built with