User

Delete a custom field in user's profile

Returns a Json User

delete/user/{id}/profile_field/{field}

Request

  • Base URL: https://api.insided.com
  • URL: https://api.insided.com/user/{id}/profile_field/{field}
  • Auth: OAuth 2 (client credentials, token URL /oauth2/token)

Path parameters

idinteger required

The id of the user

fieldstring string required

The name of the field that will be deleted

Response

Successful response

Example response

{
  "result": {
    "email": "user@insided.com",
    "username": "user",
    "joindate": "2019-07-16T14:59:00+02:00",
    "roles": [
      {
        "auth_item": {
          "name": "roles.moderator",
          "main": true
        }
      }
    ],
    "user_statistics": {
      "post_count": 0,
      "likes": 0,
      "likes_given": 0,
      "topic_count": 0,
      "topic_answered_count": 0
    },
    "sso": {
      "facebook": "333ABBDDD",
      "oauth2": "4545ag63274"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.