Update an Member

This endpoint allows you to update an operator using ID.

Update an member

PUT https://api.imber.live/member/:ID

Update an member

Path Parameters

NameTypeDescription

id

string

ID of the opeator

Headers

NameTypeDescription

Authentication

string

Authentication token

Request Body

NameTypeDescription

type

number

Type of operator (Types described below)

workSpaceIds

string

Workspace IDs that this operator assigned to

person

object

Personal information (fields of this object described in table below)

{
    "success": true,
    "data": {
        "person": {
            "name": "حامد قلیزاده",
            "phone": "09354140661",
            "avatar": "https://upload.imber.live/preview/5fc60396967be139cea6b9d9/5f00bca8f25cee0466768fa0",
            "nickName": "Hamed",
            "title": "کارشناس پشتیبانی"
        },
        "workSpaceIds": [
            "5fbb7399d0222a70a8fece80",
            "5f00a44d8e844b5a746f90b3"
        ],
        "status": false,
        "_id": "5f00bca8f25cee0466768fa0",
        "isJoined": true,
        "email": "hamet.gh@gmail.com",
        "organization": "5f00a44d8e844b5a746f90b1",
        "type": 2,
        "createdAt": "2020-07-14T07:24:20.931Z",
        "updatedAt": "2020-07-14T07:24:20.931Z",
        "__v": 1
    }
}

Person Object

Field

Type

Description

name

String

Real name of operator

phone

String

Phone number of operator

avatar

String

URL of operator avatar image

nickName

String

Operator nick name (Shown to users)

title

String

The title or position of operator in company (Shown to users)

Types

Type

Description

1

Operator (Access to Inbox, Contacts, Live and Knowledge Base)

2

Admin (Full access)

3

Creator of account (Full access)

4

Deleted

5

Operator (Access only to inbox)

6

Bot

Last updated