User Profile Update

Fire this api to update user profile.

api/profileupdate

POST https://yourdomain.com/api/profileupdate

This api endpoint for to update user profile information

Query Parameters

Name
Type
Description

secret

string

Client secret key will goes here which you get from admin panel.

Headers

Name
Type
Description

Authorization*

string

Bearer { bearer_token without bracket }

Accept*

string

application/json

Request Body

Name
Type
Description

name

string

enter username

new_password

string

enter new password

image

string

enter user image

dob

date

enter user's date of birth

mobile

string

enter user's mobile number

{
    "auth": {
        "id": 6,
        "name": "Info",
        "image": null,
        "email": "info@mediacity.co.in",
        "verifyToken": null,
        "status": 1,
        "google_id": null,
        "facebook_id": null,
        "gitlab_id": null,
        "dob": "2021-08-02",
        "age": 0,
        "mobile": null,
        "braintree_id": null,
        "code": null,
        "is_admin": 0,
        "is_assistant": 0,
        "is_blocked": 0,
        "amazon_id": null,
        "created_at": "2021-08-03T14:16:37.000000Z",
        "updated_at": "2021-08-03T14:16:37.000000Z",
        "stripe_id": null,
        "card_brand": null,
        "card_last_four": null,
        "trial_ends_at": null,
        "google2fa_secret": null,
        "google2fa_enable": 0,
        "refer_code": null,
        "refered_from": null
    }
}

Last updated