Auth0\SDK\API\Oauth2Client::updateUserMetadata PHP Метод

updateUserMetadata() публичный Метод

Updathes the user metadata. This end up calling the path /users/{id_user} To delete an attribute, just set it null. ie: [ 'old_attr' => null ] It will only update the existing attrs and keep the others untouch for more info: https://auth0.com/docs/apiv2#!/users/patch_users_by_id
public updateUserMetadata ( $metadata ) : User
Результат User data
    public function updateUserMetadata($metadata)
    {
        $auth0Api = new Auth0Api($this->getIdToken(), $this->domain);
        $user = $auth0Api->users->update($this->user["user_id"], array('user_metadata' => $metadata));
        $this->setUser($user);
    }