public function update(array $payload): Response
    {
        $this->requiresAccessToken();

        return $this->sendJson(
            'PATCH', 'profile', $this->getApiHeaders(), $this->mergeApiBody($payload)
        );
    }
public function update(array $payload): Response
    {
        $this->requiresAccessToken();

        return $this->sendJson(
            'PATCH', 'profile', $this->getApiHeaders(), $this->mergeApiBody($payload)
        );
    }
public function update ( array $ payload ) : Response { $ this -> requiresAccessToken ( ) ; return $ this -> sendJson ( 'PATCH' , 'profile' , $ this -> getApiHeaders ( ) , $ this -> mergeApiBody ( $ payload ) ) ; }
Update user profile.

@param array $payload

@return \Laravie\Codex\Contracts\Response
Update user profile .